-
-
Notifications
You must be signed in to change notification settings - Fork 5.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 appear/> not working #22310
Comments
I think this is a Vue SSR issue - see if you can reproduce without Nuxt with https://stackblitz.com/github/nuxt-contrib/vue3-ssr-starter |
Confirmed - see https://stackblitz.com/edit/github-85wcaq?file=src/App.vue. We can track upstream in vuejs/core#6951. |
@danielroe I still see this issue. A fairly workaround is to add the same animation at "onMounted" but it's not working at the same mode and we loose the beforeEnter hook. Thank you so much. |
It's not that we don't want to resolve it, but it is a Vue bug and there is an upstream issue tracking it. |
Oh, I see it is already meant to be resolved. If you are still encountering it please raise a new issue |
You mean on nuxt repo or vue repo? Issue still present, if you prefer open a new issue, I'll do that but i think it's the same |
Can you reproduce it with Vue without Nuxt? |
If this is the vue-ssr template that I found on nuxt, yes, the problem is the same: https://stackblitz.com/edit/github-jer1rm Is this again related to vue? |
Yes, if it reproducible there then it should be raised upstream at vuejs/core |
Opened the issue into the vuejs/core repository. Thank you so much. EDIT: Trying into vue play is working correctly |
Environment
Reproduction
https://codesandbox.io/p/sandbox/sleepy-bash-rkcwq7
Describe the bug
The vue docs says : If you also want to apply a transition on the initial render of a node, you can add the appear prop.
https://vuejs.org/guide/built-ins/transition.html#transition-on-appear
There is no transition on the initial render with nuxt, it however works when unmounting/remouting the node afterwards.
Working fine on vanilla vue : https://codesandbox.io/p/sandbox/jovial-kapitsa-qvhxzt
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: