skrollr icon indicating copy to clipboard operation
skrollr copied to clipboard

Bug when the page is loaded already scrolled

Open FezVrasta opened this issue 8 years ago • 0 comments

How to reproduce:

  1. Open: http://fezvrasta.github.io/
  2. Scroll till the bottom (the background get blurred)
  3. refresh the page
  4. the page is loaded at the same scroll position
  5. the background is not blurred
  6. scroll on top
  7. the background get blurred

As you see, the behavior is the opposite of what I'd expect

The element which fades out (to let see the blurred version) is:

<div class="background" data-top="opacity: 1;" data-100p="opacity: 0;"></div>

FezVrasta avatar Apr 04 '16 10:04 FezVrasta