From 6eee443d67b587dc073d50fb4ba4d65e179e94c1 Mon Sep 17 00:00:00 2001 From: ToreOlavKristiansen Date: Fri, 7 Apr 2017 15:43:56 +0200 Subject: [PATCH] Fixes IE11 issue with select loosing focus having selected an item. --- src/js/select2/selection/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/select2/selection/search.js b/src/js/select2/selection/search.js index 9ce321be..7c941faf 100644 --- a/src/js/select2/selection/search.js +++ b/src/js/select2/selection/search.js @@ -175,7 +175,7 @@ define([ this.resizeSearch(); if (searchHadFocus) { - this.$search.focus(); + this.$element.focus(); } };