Skip to content

Commit 7fc16ed

Browse files
committed
fix focus in mobile. fixes select2#1018
1 parent 49c05d3 commit 7fc16ed

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
@@ -1183,7 +1183,7 @@ the specific language governing permissions and limitations under the Apache Lic
11831183

11841184
if (!this.shouldOpen()) return false;
11851185

1186-
window.setTimeout(this.bind(this.opening), 1);
1186+
this.opening();
11871187

11881188
return true;
11891189
},

0 commit comments

Comments
 (0)