Skip to content

Commit

Permalink
fixes #1340 - when dropdown is shown in select-mode, clicking outsi…
Browse files Browse the repository at this point in the history
…de should hide it and de-focus Tagify
  • Loading branch information
yairEO committed May 4, 2024
1 parent 9e3dd31 commit aff9c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parts/events.js
Expand Up @@ -754,7 +754,7 @@ export default {
if (e.target != this.DOM.scope && !this.DOM.scope.contains(e.target)) {
this.toggleFocusClass(false)
this.state.hasFocus = false
!this.settings.userInput && this.dropdown.hide()
this.dropdown.hide()
}
},

Expand Down

0 comments on commit aff9c42

Please sign in to comment.