问题描述
对于我正在开发的页面,iOS平台有一个奇怪的问题。 是相关页面。单击任何案例研究图像时,页面将首先取消隐藏所需的案例研究,然后滚动到该页面。
I am having a bit of a weird problem with iOS platform for a page i am developing. This is the page in question. When clicking any of the case study images, the page will first unhide the required case study then scroll to it.
这适用于Windows和Mac上的所有桌面浏览器,但在iPhone和iPad上,当它向下滚动时会出现可怕的闪烁。
This works on all desktop browsers on Windows and Mac, but on the iPhone and iPad you get a horrible flicker as it scrolls down.
不太确定如何调试或修复此问题。
Not quite sure how to debug or fix this issue.
任何想法都会有很大帮助!
Any ideas would be of great help!
提前致谢,
Shadi
Thanks in advance,Shadi
更新1
可以找到最新页面。仍然没有找到解决方法 - 如果有人有任何想法它会是惊人的!
The latest page can be found here. Still haven't found a fix - if anyone has any idea it would be amazing!
推荐答案
如果你只需要垂直滚动,您可以使用 {'axis':'y'}
作为scrollTo方法的设置。
If you need vertical scroll only, you could use {'axis':'y'}
as settings to scrollTo method.
$.scrollTo(*selector*, *time*, {'axis':'y'});
这篇关于iPad使用JQuery和Scrollto插件自动滚动闪烁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!