Skip to content

Commit

Permalink
fix: passing test, focus doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienwnklr authored and risadams committed Jan 5, 2023
1 parent bc14b82 commit 6a33a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/selectize.js
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ $.extend(Selectize.prototype, {
$active = $create;
}
self.setActiveOption($active);
if (triggerDropdown && !self.isOpen && !self.isFocused) { self.open(); }
if (triggerDropdown && !self.isOpen) { self.open(); }
} else {
self.setActiveOption(null);
if (triggerDropdown && self.isOpen) { self.close(); }
Expand Down

0 comments on commit 6a33a5f

Please sign in to comment.