Replies: 1 comment
-
Same question. I'm currently resorting to using an |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the
transition
prop in aDialog
component to animate when it's open or closed, however I want to reset some state after the dialog is fully closed.I used to be able to do this using the
afterLeave
callback from theTransition
component but I can't find a way to do the equivalent using props. Right now my workaround is to reset my state using a timeout but it's not ideal.Is there a way to do this?
Beta Was this translation helpful? Give feedback.
All reactions