Skip to content
New issue

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

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

Already on GitHub? # to your account

AnimatedOrphans' documentation looks broken #511

Open
aoumiri opened this issue Aug 17, 2022 · 2 comments
Open

AnimatedOrphans' documentation looks broken #511

aoumiri opened this issue Aug 17, 2022 · 2 comments

Comments

@aoumiri
Copy link

aoumiri commented Aug 17, 2022

Hello everyone, and thanks for this great library 👍

I am struggling with one issue (elements gets destroyed before the end of the animation), and I feel like the AnimatedOrphans could resolve it.

But the sad thing is that the documentation covering this part is broken, and I have no idea how to use that component.

Can you point me to some references so that I may understand it better, so that I could update the doc? Thanks a lot 🙏

@ef4
Copy link
Contributor

ef4 commented Sep 5, 2022

If you put <AnimatedOrphans /> somewhere in your app that will stay rendered during your transitions, it takes care of adopting orphaned sprites and allows them to animate when they would have otherwise disappeared.

It doesn't have any arguments or anything, it just needs to be present on the page.

@backspace
Copy link
Contributor

By the documentation looking broken do you mean #668?

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

No branches or pull requests

3 participants