Problems with iPad / jQuery.animate (scroll)

I have a page that uses jQuery.animate to scroll through a body / html document, it works fine in browsers, but just won’t play ball with an iPad.

First, it is supposed to scroll in the Y direction, then X, but on the iPad it scrolls in Y, then it goes to its original position before scrolling in the X direction. After the animation is completed, the links that are used for navigation will stop functioning if you do not scroll the page manually and then will work again!

What am I doing wrong here? The page is here ...

Thanks in advance, Phil.

+2
source share
2 answers

. iOS , . , jQuery . , div, .

+5

scrollTop() scrollLeft() iPad. window.pageYOffset window.pageXOffset.

, - - .

+2

Source: https://habr.com/ru/post/1788904/


All Articles