Skip to content

Commit

Permalink
Merge pull request #1215 from hupf/master
Browse files Browse the repository at this point in the history
Fix tab key regression introduced by touch handling #1164
  • Loading branch information
joallard authored Dec 6, 2016
2 parents b9f8d59 + 6d3875d commit 0c6fafc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/selectize.js
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,9 @@ $.extend(Selectize.prototype, {

if (self.settings.mode === 'single' && self.items.length) {
self.hideInput();
self.$control_input.blur(); // close keyboard on iOS
setTimeout(function() {
self.$control_input.blur(); // close keyboard on iOS
});
}

self.isOpen = false;
Expand Down

0 comments on commit 0c6fafc

Please sign in to comment.