skrollr icon indicating copy to clipboard operation
skrollr copied to clipboard

skrollr shows inexplicable behaviour after page reload on Safari

Open dev-cb opened this issue 8 years ago • 1 comments

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:

  • Navigate to https://markovian.com/team-expertise.html or https://markovian.com/product.html using Safari (on these pages is skrollr running)
  • Everything appears normal, the content elements targeted by skrollr are animated on scroll.
  • Reloading the page (cmd + r) will cause the bug. You will notice that the content elements targeted by skrollr will not appear correctly.

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:

  • Could you reproduce the behaviour?
  • If so: do you have an explanation for this?

Thanks a lot!

dev-cb avatar May 02 '17 11:05 dev-cb

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?

dev-cb avatar May 02 '17 15:05 dev-cb