react-animate-on-scroll
react-animate-on-scroll copied to clipboard
Components which are in view on page load are not executing the ScrollAnimation
My problem is that when I wrap my component with ScrollAnimation, if the component is on the screen (in view) on page load, the component is invisible.
<ScrollAnimation animateIn='fadeIn' animateOut='fadeOut' initiallyVisible={true} animateOnce={false}>
I have to set initiallyVisible to true to get the component to be on the screen, but if I set this to true it makes the scrolling a little weird, because first the component will be visible, then it will disappear, then it will fade in.
same issue , did you find a fix