react-awesome-reveal icon indicating copy to clipboard operation
react-awesome-reveal copied to clipboard

Add the ability to manually trigger animations

Open WassimHmd opened this issue 11 months ago • 2 comments
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

WassimHmd avatar Dec 02 '24 08:12 WassimHmd

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.

morellodev avatar Dec 04 '24 07:12 morellodev

@WassimHmd Please try https://github.com/rnosov/react-reveal

<Zoom when={shown}>
  <p>Revealed when *shown* becomes true</p>
</Zoom>

zopelee avatar Dec 10 '24 02:12 zopelee