Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upThe sensitivity of the scroll to the anchor too sensitive #188
Comments
This comment has been minimized.
This comment has been minimized.
Apparently the "touchSensitivity" is used to solve the problem, but it does not work, nothing changes when I change the value :( I am blocked |
This comment has been minimized.
This comment has been minimized.
Hello there, After quite a while, I stumbled upon this reported issue: ...and figured, that the sensitivity didn't work because in my case container.height() also returned 0. In the jquery.pagepiling.js file I changed this:
...to this:
This seems to have fixed my issue. On my mobile device, pagepiling no longer fires, when I just tap the screen, but actually now only fires when it recognizes a swiping motion. |
This comment has been minimized.
This comment has been minimized.
Perfect !!! But, for me, the "100%" not work, "100vh" is OK. On pagepiling 1.5.5 , the line is : height: '100vh',overflow:"hidden","-ms-touch-action":"none","touch-action":"none" Thx you so much ! |
This comment has been minimized.
This comment has been minimized.
Thanks for the insights guys! |
Hi, again me :)
I have a problem of sensitivity, when I barely touch the screen in mobile version, I go directly to the anchor after.
How can I solve this problem?
Thank you :)