mirror of https://github.com/node-red/node-red.git
Merge pull request #5421 from piotrbogun/5420/TreeList/scroll-on-overflow-navigation
TreeList: Fix widget treeList keyboard navigation scroll behaviormaster
commit
0738754d40
|
|
@ -188,7 +188,10 @@
|
|||
} else {
|
||||
that._topList.find(".focus").removeClass("focus")
|
||||
}
|
||||
target.treeList.label.addClass('focus')
|
||||
if (target.treeList.label) {
|
||||
target.treeList.label.addClass('focus')
|
||||
}
|
||||
that.reveal(target);
|
||||
}
|
||||
});
|
||||
this._data = [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue