From ab8efe9ebcfc0180058d2d0e63de5f4cc3d2b5a0 Mon Sep 17 00:00:00 2001 From: Bryce Wilson Date: Tue, 2 Feb 2016 09:34:44 +0000 Subject: [PATCH] Updating to remedy IE11 Tabbing issue Original reference - https://github.com/selectize/selectize.js/issues/877 --- dist/js/selectize.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dist/js/selectize.js b/dist/js/selectize.js index 3ebcb3d5e..6ba79d63b 100644 --- a/dist/js/selectize.js +++ b/dist/js/selectize.js @@ -1068,7 +1068,8 @@ self.refreshState(); // IE11 bug: element still marked as active - (dest || document.body).focus(); + //(dest || document.body).focus(); + dest && dest.focus(); self.ignoreFocus = false; self.trigger('blur'); @@ -3055,4 +3056,4 @@ return Selectize; -})); \ No newline at end of file +}));