iOS中的jQuery Mobile下拉菜单错误 [英] jQuery Mobile dropdown menu bug in iOS

查看:128
本文介绍了iOS中的jQuery Mobile下拉菜单错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于jQuery Mobile项目beta 2项目的错误报告,带有下拉菜单(在html中选择标签),当在下拉菜单中滚动本机选择值时,滚动缩放页面并选择时间一个值没有被退回,用户需要点按才能再次正常的缩放。

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.

我只有Android才能测试,有没有人有相同的问题并有解决方案,还是iOS或jQuery Mobile中的错误?

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?

推荐答案

我自己遇到这个问题。有一些谷歌搜索,解决方案是把

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">

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.

这篇关于iOS中的jQuery Mobile下拉菜单错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆