diff --git a/src/js/select2/selection/base.js b/src/js/select2/selection/base.js index e87867a9..6d373bd7 100644 --- a/src/js/select2/selection/base.js +++ b/src/js/select2/selection/base.js @@ -81,7 +81,9 @@ define([ self.$selection.removeAttr('aria-activedescendant'); self.$selection.removeAttr('aria-owns'); - self.$selection.focus(); + window.setTimeout(function () { + self.$selection.focus(); + }, 0); self._detachCloseHandler(container); });