Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to manually trigger animations #227

Open
WassimHmd opened this issue Dec 2, 2024 · 2 comments
Open

Add the ability to manually trigger animations #227

WassimHmd opened this issue Dec 2, 2024 · 2 comments

Comments

@WassimHmd
Copy link

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

@morellodev
Copy link
Collaborator

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.

@zopelee
Copy link

zopelee commented Dec 10, 2024

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants