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

fix: Prevent transitionend events in children nodes from cutting off animations #5649

Merged

Conversation

kyletsang
Copy link
Member

Fixes #5648
Fixes #5641
Fixes #5230

This replaces the addEndListener with one that only invokes the callback only if transition occurs on the element containing the fade/collapse animation.

Couldn't get tests to work here. Parsing the transition-duration from the node results in a NaN.

@kyletsang kyletsang merged commit 459b4e3 into react-bootstrap:master Feb 12, 2021
@kyletsang kyletsang deleted the fix/transitionend-listener branch February 12, 2021 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants