react-animate-on-scroll icon indicating copy to clipboard operation
react-animate-on-scroll copied to clipboard

Components which are in view on page load are not executing the ScrollAnimation

Open kyleb-app opened this issue 2 years ago • 3 comments

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.

kyleb-app avatar May 30 '23 14:05 kyleb-app

same issue , did you find a fix

whirlxd avatar May 27 '24 19:05 whirlxd