diff --git a/CHANGELOG.md b/CHANGELOG.md index eac8f500..8760be98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 4.0.6 ### 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) ## 4.0.5 diff --git a/src/js/select2/dropdown/search.js b/src/js/select2/dropdown/search.js index 8cbbd754..026fb543 100644 --- a/src/js/select2/dropdown/search.js +++ b/src/js/select2/dropdown/search.js @@ -60,6 +60,7 @@ define([ self.$search.attr('tabindex', -1); self.$search.val(''); + self.$search.blur(); }); container.on('focus', function () {