What is best way to trigger something after the dialog is completely closed? #2826
Unanswered
hungdoansy
asked this question in
Help
Replies: 1 comment
-
You can use |
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
-
Hi everyone,
Sorry if this question is too trivial. I've been working with dialogs for a while now. When the modal open state changes to
false
, there's a transition to make it disappear smoothly.I'd like to update a state inside the dialog component after it's gone completely.
Is this a good way to do it?
I assume 200ms is transition duration.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions