skrollr
skrollr copied to clipboard
Bug when the page is loaded already scrolled
How to reproduce:
- Open: http://fezvrasta.github.io/
- Scroll till the bottom (the background get blurred)
- refresh the page
- the page is loaded at the same scroll position
- the background is not blurred
- scroll on top
- 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>