We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 32ee80a + e650940 commit a188359Copy full SHA for a188359
src/selectize.js
@@ -1772,9 +1772,13 @@ $.extend(Selectize.prototype, {
1772
1773
if (self.settings.mode === 'single' && self.items.length) {
1774
self.hideInput();
1775
- setTimeout(function() {
+
1776
+ // Do not trigger blur while inside a blur event,
1777
+ // this fixes some weird tabbing behavior in FF and IE.
1778
+ // See #1164
1779
+ if (self.ignoreFocus) {
1780
self.$control_input.blur(); // close keyboard on iOS
- });
1781
+ }
1782
}
1783
1784
self.isOpen = false;
0 commit comments