From 02cca7baa7b78e73cdcf393172ee3a54be387167 Mon Sep 17 00:00:00 2001 From: Ryan Wallace Date: Wed, 27 May 2015 13:39:36 -0700 Subject: [PATCH] Allow immediate typing when tabbing to multiple select. --- src/js/select2/selection/search.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/js/select2/selection/search.js b/src/js/select2/selection/search.js index c3c66e04..7dbcf939 100644 --- a/src/js/select2/selection/search.js +++ b/src/js/select2/selection/search.js @@ -54,6 +54,10 @@ define([ self.trigger('focus', evt); }); + this.$selection.on('focus', function (evt) { + self.$search.trigger('focus'); + }); + this.$selection.on('focusout', '.select2-search--inline', function (evt) { self.trigger('blur', evt); });