Skip to content

Commit

Permalink
fix: set position dropdown before is showing
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienwnklr authored and risadams committed Jan 5, 2023
1 parent 6a33a5f commit 7cfafb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/selectize.js
Original file line number Diff line number Diff line change
Expand Up @@ -1977,6 +1977,7 @@ $.extend(Selectize.prototype, {
self.refreshState();
self.$dropdown.css({ visibility: 'hidden', display: 'block' });
self.setupDropdownHeight();
self.positionDropdown();
self.$dropdown.css({visibility: 'visible'});
self.trigger('dropdown_open', self.$dropdown);
},
Expand Down

0 comments on commit 7cfafb7

Please sign in to comment.