简体   繁体   English

jQuery的scrollTO iPhone / iPad不向右滚动

[英]jquery scrollTO iPhone/iPad doesn't scroll right

I have problem with scrollTO jquery pluging when the page is viewed on iPhone or Ipad. 在iPhone或Ipad上查看页面时,scrollTO jquery插入时出现问题。 When clicked on on of the buttons the scrolling refresh the page and then scroll, it looks like the page flickers while scrolling. 单击按钮上的某个按钮时,滚动会刷新页面,然后滚动,看起来页面在滚动时会闪烁。 All I want is to have smoothly scrooling to exact element on the page. 我想要的是让页面上的内容完全顺滑。

You can find developemnet version of the Page here . 您可以在这里找到Page的developemnet版本。

Can someone please help me ho to solve this problem? 有人可以帮我解决这个问题吗?

Thank you and regards, Matej. 谢谢您,Matej。

You can check if it's a bug in the script or in your webpage. 您可以检查脚本或网页中的错误。

Create a simple website with just the scroller plugin and add some scroll anchors. 仅使用滚动插件创建一个简单的网站,并添加一些滚动锚点。 If it flickers on iOS too it's a bug in the script, otherwise something is your websites code causes this bug. 如果它也在iOS上闪烁,则可能是脚本中的错误,否则,是您的网站代码导致此错误。

Another options my be to pick another scroller plugin. 另一个选择是选择另一个滚动插件。 Guess there are more than one. 猜猜有不止一个。

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

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