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(useRTGTransitionProps): only add transition callbacks if user passed #99

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

kyletsang
Copy link
Collaborator

@kyletsang kyletsang commented Mar 18, 2024

Fixes react-bootstrap/react-bootstrap#6778

This caused the issue over in RB because the props overrode the addEndListener prop that was passed into the transition. The fix is to only add in the callbacks if user passed the callback into the transition

@kyletsang kyletsang merged commit c606485 into main Mar 18, 2024
7 of 8 checks passed
@kyletsang kyletsang deleted the fix-transition-props branch March 18, 2024 01:36
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

Successfully merging this pull request may close these issues.

Modal component stop working when closed
1 participant