mirror of https://github.com/node-red/node-red.git
Merge pull request #5193 from node-red/fix-hide-suggestion
Do not update suggestion whilst typeSearch hidingpull/5195/head
commit
3e9106635c
|
|
@ -266,6 +266,11 @@ RED.typeSearch = (function() {
|
|||
if (nodeItem === activeSuggestion) {
|
||||
return
|
||||
}
|
||||
if (!visible && nodeItem) {
|
||||
// Do not update suggestion if the dialog is not visible
|
||||
// - for example, whilst the dialog is closing and the user mouses over a new item
|
||||
return
|
||||
}
|
||||
activeSuggestion = nodeItem
|
||||
if (suggestCallback) {
|
||||
if (!nodeItem) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue