Merge branch 'focus-event' of https://github.com/nino-s/select2 into hotfix
This commit is contained in:
commit
ca4de9dcb0
2
src/js/select2/dropdown/search.js
vendored
2
src/js/select2/dropdown/search.js
vendored
@ -63,7 +63,7 @@ define([
|
||||
});
|
||||
|
||||
container.on('focus', function () {
|
||||
if (container.isOpen()) {
|
||||
if (!container.isOpen()) {
|
||||
self.$search.focus();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user