From ca64ac7200fc13821f1f58410bde6e266629b31a Mon Sep 17 00:00:00 2001 From: Yair Even Or Date: Sat, 21 Dec 2024 16:05:11 +0200 Subject: [PATCH] #1420 - on select-mode, do not call `dropdown.hide` within `onEditTagDone` after a suggestion was selected --- src/tagify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tagify.js b/src/tagify.js index 59e41ca4..809b1c41 100644 --- a/src/tagify.js +++ b/src/tagify.js @@ -650,7 +650,7 @@ Tagify.prototype = { } this.trigger("edit:updated", eventData) - this.dropdown.hide() + _s.dropdown.closeOnSelect && this.dropdown.hide() // check if any of the current tags which might have been marked as "duplicate" should be now un-marked if( this.settings.keepInvalidTags )