jQuery Mobile dropdown menu bug in iOS

吃可爱长大的小学妹 提交于 2019-12-24 09:58:11

问题


I have got bug reports on a jQuery Mobile project beta 2 project with dropdown menu (select tags in html) that says when the scroll the wheel on the native "select value" in a dropdown menu its zooming the page and when selected a value its not being set back, the user need to tap to get normal zoom again.

I only has Android to test on, is there someone else that got the same problem and have a solution for it or is it a bug in iOS or jQuery Mobile?


回答1:


I ran into this problem myself. Did some googling, and the solution is to put

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

the maximum-scale=1 will solve your issue, but it will also not allow the user to zoom in or out, which may or may not be acceptable for your situation.



来源:https://stackoverflow.com/questions/7117946/jquery-mobile-dropdown-menu-bug-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!