Skip to content

Commit 933189b

Browse files
authored
Update base.js
1 parent db30f66 commit 933189b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/js/select2/selection/base.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ define([
8181
self.$selection.removeAttr('aria-activedescendant');
8282
self.$selection.removeAttr('aria-owns');
8383

84-
self.$selection.focus();
84+
window.setTimeout(function () {
85+
self.$selection.focus();
86+
}, 0);
8587

8688
self._detachCloseHandler(container);
8789
});

0 commit comments

Comments
 (0)