-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Transition broken with vue v3.4.15 #2939
Comments
I also noticed that my "Fade modal background to black" transitions stopped working correctly after updating from The transition itself works fine, i.e. the background fades to black, but after the animation is finished, the "Enter" and "EnterTo" classes of the transitions are taken out, which causes the black background to disappear. In previous version, the "EnterTo" class remains after the animation has finnished, keeping the background faded black. EDIT: It seems that in my case the bug can be fixed by taking the styles from the "EnterTo" animation and copypasting them to the modal background class. In this way, after the "EnterTo" animation class has been taken away, the styles from the background class remain, because they are already introduced in the modal background class. |
@Jarzka ,
I have a similar issue after updating. Before i was using Thanks for the tip to shuffle class names with what the underlying component has by default, that seems to solve my issue for now. |
What package within Headless UI are you using?
@headlessui/vue
What version of that package are you using?
For example: v1.7.17
What browser are you using?
Chrome
Reproduction URL
https://stackblitz.com/edit/vitejs-vite-rjomgn?file=src%2FApp.vue
Describe your issue
Transition doesn't work for entering if there is a vue TransitionGroup with a template ref as the children (this is my specific use case, not sure when else it happens - if I remove the ref it works properly)
This started happening since vue 3.4.15
The text was updated successfully, but these errors were encountered: