In my web application, I have a select2 control that won’t open on iPhones. After spending an hour or so on BrowserStack, I can report it works fine on iPad, Android and all desktop browsers, but not on iPhone. On iPhone the native SELECT is upgraded to a select2, but tapping on the control leads to a brief flicker, but the menu does not open.
The problem goes away when I use “minimumResultsForSearch: 0”. Any other value causes it to fail.
I wanted to report this as a github issue but my attempts to reproduce this in jsfiddle so far has failed. It’s 100% reproducible in my app, but I don’t have time right now to continue paring down the page to something I can easily publish on the public internet. This post is for the benefit of developers and fellow users.
Tested with select2 version 4.0.7, jquery 1.12.4. First discovered the problem on an iPhone 5C with iOS 10.3.3.