Fix keyboard not closing when closing dropdown on iOS 10 (#4680)
This commit is contained in:
parent
7d41ea153e
commit
ef2ef8b685
@ -3,6 +3,7 @@
|
|||||||
## 4.0.6
|
## 4.0.6
|
||||||
|
|
||||||
### Bug fixes
|
### Bug fixes
|
||||||
|
- Fix keyboard not closing when closing dropdown on iOS 10 (#4680)
|
||||||
- User-defined types not normalized properly when passed in as data (#4632)
|
- User-defined types not normalized properly when passed in as data (#4632)
|
||||||
|
|
||||||
## 4.0.5
|
## 4.0.5
|
||||||
|
1
src/js/select2/dropdown/search.js
vendored
1
src/js/select2/dropdown/search.js
vendored
@ -60,6 +60,7 @@ define([
|
|||||||
self.$search.attr('tabindex', -1);
|
self.$search.attr('tabindex', -1);
|
||||||
|
|
||||||
self.$search.val('');
|
self.$search.val('');
|
||||||
|
self.$search.blur();
|
||||||
});
|
});
|
||||||
|
|
||||||
container.on('focus', function () {
|
container.on('focus', function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user