jQuery Mobile .NET 表单破坏了 android
我正在使用 jquery mobile 开发一个网站,据报道,对于通过 .NET cms 呈现的页面,下拉菜单在 android 中不起作用。
我已将问题范围缩小到包装 .NET 页面上所有内容的表单元素。我已经测试了有和没有表单的情况,表单绝对是罪魁祸首。 with form 版本适用于 iPhone 和其他经过测试的智能手机,因此这是 Android 特有的。
任何遇到过此问题并有一些见解可以分享的人将不胜感激。
Im developing a site using jquery mobile and it has been reported that dropdowns are not working in android for pages that are rendered through the .NET cms.
I've narrowed down the issue to be the form element that wraps all content on a .NET page. I've tested both with and without the form and the form is definitely the culprit. The with form vers works on iPhone and other smartphones that were tested, so this is specific to Android.
Anyone who has run into this and has some insight to share would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我收到了 jqm 项目维护者对我发布的错误的回复(https://github.com/jquery/jquery-mobile/issues/1625#comment_1154114),他们不会尝试最终解决这个问题,这正好需要在 .NET 站点上完成。
我们最终通过在 data-role=page 元素内添加 form 元素来解决这个问题,这让相关的 Android 设备感到高兴。
I received a response (https://github.com/jquery/jquery-mobile/issues/1625#comment_1154114) from a maintainer of the jqm project on the bug I posted, that they will not be attempting to resolve this on their end, which is just as well as it really needs to be done on the .NET site.
We ended up solving this by adding the form element just inside the data-role=page element which made the android devices in question happy.