@node-projects/web-component-designer-widgets-wunderbaum 0.1.19 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -336,7 +336,9 @@ export class TreeViewExtended extends BaseCustomWebComponentConstructorAppend {
336
336
  node.setFocus(true);
337
337
  if (flag && !scrolled) {
338
338
  scrolled = true;
339
- node.scrollIntoView();
339
+ requestAnimationFrame(() => {
340
+ node.scrollIntoView();
341
+ });
340
342
  }
341
343
  });
342
344
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "web-component-designer addon: Widgets using wunderbaum",
3
3
  "name": "@node-projects/web-component-designer-widgets-wunderbaum",
4
- "version": "0.1.19",
4
+ "version": "0.1.20",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "author": "jochen.kuehner@gmx.de",