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

onAnimationEnd not working #249

Closed
ShrewdHydra opened this issue Feb 1, 2024 · 2 comments
Closed

onAnimationEnd not working #249

ShrewdHydra opened this issue Feb 1, 2024 · 2 comments

Comments

@ShrewdHydra
Copy link

I see that support for onAnimationEnd was added in #25, but right now, this has been reversed, as the component still accepts that prop but does nothing with it.

Are there any plans to add it back? My usecase is to revert state without making the animation end abruptly.

@vogelino
Copy link

Hi there! Is there any progress on this by any chance? @ShrewdHydra could you explain your workaround? I'm no sure to understand what you mean by reversing state? You just toggle the open state? How do you know the animation has finished? Did you pluck a setTimeout in there? I'd love to see the onAnimationEnd event being brought back.

@emilkowalski
Copy link
Owner

This has been added in #419, see README for more info.

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