简体   繁体   English

iPad水平滑动原因页面向右或向左跳转并返回

[英]iPad Horizontal Swipe Cause Page to Jump Right or Left and Return

My site jumps momentarily right or left on swipe in iPad (prolitho.com). 在iPad(prolitho.com)上滑动时,我的网站暂时向右或向左跳转。 I have overflow-x hidden and the viewport set: 我隐藏了overflow-x,并设置了视口:

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

Is there a way to lock it down so the whole site doesn't bounce right or left on a swipe? 有没有一种方法可以将其锁定,以免整个站点在滑动时向右或向左反弹?

It's not a your fault, it's new iOS7 feature in Safari... at the moment no solution.. 这不是您的错,它是Safari中的iOS7新功能……目前尚无解决方案。

See this summary of safari changes in iOS7 that might cause problems to your website (including this swipe gesture) 请参阅此有关iOS7中的野生动物园更改的摘要,这可能会导致您的网站出现问题(包括此滑动手势)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM