From 9bc68f089e4d81e0dd0e8de943071ae36a3394cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pluchino?= Date: Wed, 21 Aug 2013 12:16:50 +0200 Subject: [PATCH] Fix the focus when list is closed on the mouse click event --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index 815d04bb..aaa3e623 100644 --- a/select2.js +++ b/select2.js @@ -1267,7 +1267,7 @@ the specific language governing permissions and limitations under the Apache Lic if (self.opts.selectOnBlur) { self.selectHighlighted({noFocus: true}); } - self.close({focus:false}); + self.close({focus:true}); e.preventDefault(); e.stopPropagation(); }