We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47064b2 commit 5e18e71Copy full SHA for 5e18e71
1 file changed
select2.js
@@ -317,7 +317,7 @@
317
* blurs any Select2 container that has focus when an element outside them was clicked or received focus
318
*/
319
$(document).ready(function () {
320
- $(document).delegate("*", "mousedown focusin", function (e) {
+ $(document).delegate("*", "mousedown focusin touchstart", function (e) {
321
var target = $(e.target).closest("div.select2-container").get(0);
322
$(document).find("div.select2-container-active").each(function () {
323
if (this !== target) $(this).data("select2").blur();
0 commit comments