Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
$(select).selectmenu('disable') causes issues on iOS for native selects #1816
On iOS, I've found that native select menus disabled with .selectmenu('disable') are still opened, and can cause some odd behavior on the device. Once opened, the native menu cannot be closed unless the browser is killed or the user refreshes/leaves the page.
The issue, oddly enough, appears to be caused by setting the following style
I was able to verify this using the latest jQuery mobile, on both iPad, iPhone and the emulators for both. Please let me know if you have any issues replicating the issue, or would like me to provide an example. As the majority of the devices supported don't show a cursor, I'd assume the fix would just be to remove, or modify this style so it does not apply to select menus. I would also assume there's an underlying iOS issue here.
Please let me know if you have any questions.