Closed darrylsepeda closed 6 years ago
<OverPack playScale={0.1} style={{ minHeight: 500}}>
<TweenOne key="tween" animation={{ y: 30, opacity: 0, type: 'from' }} >test</TweenOne>
</OverPack>
rc-scroll-anim, use min-height, OverPack box requires height.
thanks for the answer, actually I did in another way so I will close this issue.
I found that the animation will start when the object is scrolled to the middle of the screen. I tried to use playScale and other API to make the animation start when the object reach the bottom of the screen but none of the API is working.
Is there any way to make the animation works when object reach the bottom of the screen??