Skip to content

Commit

Permalink
tweak handling under iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitiger committed Aug 8, 2016
1 parent 0316d24 commit 4436954
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/selectize.js
Original file line number Diff line number Diff line change
Expand Up @@ -1745,6 +1745,7 @@ $.extend(Selectize.prototype, {

self.isOpen = false;
self.$dropdown.hide();
self.$control_input.blur(); // close keyboard on iOS
self.setActiveOption(null);
self.refreshState();

Expand Down

0 comments on commit 4436954

Please sign in to comment.