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 9a3c249e3..a6db02ffb 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 @@ -167,7 +167,7 @@ this._selected = new Set(); this._topList = $('
    ').css({ position:'absolute', - top: 0, + top:0, left:0, right:0, bottom:0 @@ -181,6 +181,9 @@ that._addSubtree(that._topList,container,item,0); } }; + if (this.options.header) { + topListOptions.header = this.options.header; + } if (this.options.rootSortable !== false && !!this.options.sortable) { topListOptions.sortable = this.options.sortable; topListOptions.connectWith = '.red-ui-treeList-sortable';