@node-projects/web-component-designer-widgets-wunderbaum 0.1.17 → 0.1.18
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.
|
@@ -295,6 +295,9 @@ export class TreeViewExtended extends BaseCustomWebComponentConstructorAppend {
|
|
|
295
295
|
this._tree.visit((node) => {
|
|
296
296
|
const flag = activeElements && activeElements.includes(node.data.ref);
|
|
297
297
|
node.setSelected(flag);
|
|
298
|
+
node.setActive(flag);
|
|
299
|
+
if (flag)
|
|
300
|
+
node.setFocus(true);
|
|
298
301
|
if (flag && !scrolled) {
|
|
299
302
|
scrolled = true;
|
|
300
303
|
node.scrollIntoView();
|
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.
|
|
4
|
+
"version": "0.1.18",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"author": "jochen.kuehner@gmx.de",
|