react-animate-on-scroll
react-animate-on-scroll copied to clipboard
when reload page, the component doesn't animated.
the component must be in the middle of page to be animated like in your demo page,The problem, that I can't make the header of page animated when reload page, i had to scroll to trigger.
In my case, I added offset={1}
to the scroll animation component to run animation on entering the page.
In my case, I added
offset={1}
to the scroll animation component to run animation on entering the page.
Does this only work if scrollableParentSelector defaults to the document? I tried setting scrollableParentSelector to the parent div that contains the animated scroll elements, but it didn't work as expected. I had to scroll until I passed the element first, then scroll back, and finally scroll past the element again until it worked.
Any updates on this one? I seem to have the same problem as well
same problem