Android 不尊重“user-scalable=no”的独立使用。
当我在 iPad 上使用“user-scalable=no”时,它不会因缩放而破坏我的布局。它只是禁用缩放。太棒了!
但是,在 Android 上,它确实会缩放我的内容,并且不会禁用缩放。
有解决方法吗?我只是想禁用用户缩放我的页面的能力。 (如果可以用javascript完成的话也可以)
提前致谢。
When I use "user-scalable=no" on an iPad, it doesn't break my layout by scaling it. It just disables zooming. That's great!
However, on Android, it does scale my content, and it doesn't disable zooming.
Is there a workaround? I just want to disable the users ability to zoom on my page. (If it can be done with javascript, it's fine too)
Thaks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论