mirror of
https://github.com/node-red/node-red.git
synced 2025-12-27 07:31:07 +01:00
Do not update suggestion whilst typeSearch hiding
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user