Closed noook closed 5 months ago
We're no longer using a component to handle the transition but a CSS animation, I'm afraid it's not really related to radix-vue
๐ค
They use Presence
which could kind of allow us to hook into the animation end (if there is one).
Submitted a PR (https://github.com/radix-vue/radix-vue/pull/901) on radix-vue so we can hook on it and reset state properly to avoid flickering while closing
@benjamincanac It seems that the transition is now flawless, I didn't even update radix
I don't know what caused the issue last time I tried, but I remember the leaving animation was instant because the component was unmounted too early, it should be ready now
Awesome! I've just renamed the modals
plugin to modal
and ModalsProvider
component to ModalProvider
for consistency.
Thanks!!! ๐
๐ Linked issue
Resolves #66
โ Type of change
๐ Description
Allows opening modals dynamically
~One feature is missing: we cannot detect the end of the animation to reset the modal state, I think we need something upstream on radix-vue~ย
๐ Checklist