react-awesome-reveal
react-awesome-reveal copied to clipboard
Add the ability to manually trigger animations
trafficstars
So i've had this issue where my elements starts coompletely out of view, hidden by an overflow:hidden, and I wanted to trigger the animation manually when the parent arrives through the intersection observer but there was no prop to pass
I'm not sure if I understood your use case. This lib is all about animating elements when they enters the viewport, it does just that.
@WassimHmd Please try https://github.com/rnosov/react-reveal
<Zoom when={shown}>
<p>Revealed when *shown* becomes true</p>
</Zoom>