Skip to content

Commit

Permalink
when removing all tags, the dropdown should re-filter, because that a…
Browse files Browse the repository at this point in the history
…ction might have been triggered from inside the dropdown, and it might still be open
  • Loading branch information
Yair Even Or authored and Yair Even Or committed Jul 30, 2022
1 parent 01cf184 commit e9534ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tagify.js
Original file line number Diff line number Diff line change
Expand Up @@ -1642,6 +1642,7 @@ Tagify.prototype = {
else
this.removeTagsFromDOM()

this.dropdown.refilter()
this.dropdown.position()

if( this.settings.mode == 'select' ){
Expand Down

0 comments on commit e9534ad

Please sign in to comment.