jlmakes / scrollreveal

Animate elements as they scroll into view.
https://scrollrevealjs.org/
22.33k stars 2.26k forks source link

First page load animation #461

Closed bonucci closed 5 years ago

bonucci commented 5 years ago

Hello, im having a issue on the page, basically i have a one html page with some sections that includes slider, texts and some images, the problem is that when i load the page, in a glamps the page is scrolled down but then scrolls up automatclly, the problem in these miliseconds the anination from scrollreveal fires first time, loossing my animation on the scroll.

Is someone had same situation?

Environment

GarryKnimble commented 5 years ago

Are you aware of any code that could be causing the automatic scroll-up besides scroll reveal? Scroll reveal seems to be working in that regard as when the elements are in view they are revealed. I have not had any issues with scroll reveal causing the page to automatically scroll up to the top of the page, though this is with older versions.

jlmakes commented 5 years ago

ScrollReveal does not ever change your scroll position. One thing that comes to mind is that large images can cause shifts in layout while the page loads. Maybe something similar is happening for you.