Prinzhorn / skrollr

Stand-alone parallax scrolling library for mobile (Android + iOS) and desktop. No jQuery. Just plain JavaScript (and some love).
http://prinzhorn.github.io/skrollr/
MIT License
18.53k stars 3.51k forks source link

skrollr shows inexplicable behaviour after page reload on Safari #849

Open dev-cb opened 7 years ago

dev-cb commented 7 years ago

I am wondering whether the following behaviour is just a problem on my machine (running Safari 10.1). I have absolutely no explanation for this kind of bug. You can reproduce it:

Calling s.getMaxScrollTop(); in the console will return different values, comparing the normal page load and a reload of the page.

I tried to disable all other JS scripts with no result. So this bug seems to appear independently from other scripts.

Main questions:

Thanks a lot!

dev-cb commented 7 years ago

I tested it on another MacBook (using Safari 10.1) and the same issue occurred. On an iMac 27" (using Safari 10.0.3) I could not reproduce this issue.

Does anyone confirm that?