diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js index e06fa1df4..71062a53a 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js @@ -882,6 +882,10 @@ } that._topList.find(".focus").removeClass("focus"); + + if (item.treeList.label) { + item.treeList.label.addClass("focus"); + } if (triggerEvent !== false) { this._trigger("select",null,item)