Skip to content

Commit d4d208f

Browse files
author
Francesco Negri
committed
Added same fix to dist/js/selectize.js
1 parent 3275c4f commit d4d208f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

dist/js/selectize.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,6 +969,11 @@
969969
self.isFocused = false;
970970
if (self.ignoreFocus) return;
971971

972+
if (document.activeElement === self.$dropdown_content[0]) {
973+
self.$control_input.focus();
974+
return;
975+
}
976+
972977
if (self.settings.create && self.settings.createOnBlur) {
973978
self.createItem();
974979
}
@@ -2745,4 +2750,4 @@
27452750
});
27462751

27472752
return Selectize;
2748-
}));
2753+
}));

0 commit comments

Comments
 (0)