Skip to content

Commit 0d08829

Browse files
committed
Merge pull request select2#1639 from francoispluchino/fix-close-focus
Fix the focus when list is closed on the mouse click event
2 parents a3e188a + 9bc68f0 commit 0d08829

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ the specific language governing permissions and limitations under the Apache Lic
13021302
if (self.opts.selectOnBlur) {
13031303
self.selectHighlighted({noFocus: true});
13041304
}
1305-
self.close({focus:false});
1305+
self.close({focus:true});
13061306
e.preventDefault();
13071307
e.stopPropagation();
13081308
}

0 commit comments

Comments
 (0)