Running callbacks on the end of Transition? #652
Unanswered
iambryanhaney
asked this question in
Help
Replies: 1 comment 1 reply
-
Hey! Thank you for your question! Yep, this is possible! React: https://headlessui.dev/react/transition#component-api you can use the following callback props
Vue: https://headlessui.dev/vue/transition#component-api you can use the following events
|
Beta Was this translation helpful? Give feedback.
1 reply
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 have a piece of state displaying inside of a Dialog which I clear upon closure. However, with Transition in place, clearing the state on close will briefly display the mutated state as the Transition is doing its thing.
Is there a way to hook into the "transition complete" state, or a pattern to attach a callback?
Beta Was this translation helpful? Give feedback.
All reactions