Skip to content
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

Closed
StitiFatah opened this issue Jul 25, 2023 · 2 comments
Closed

<Transition appear/> not working #22310

StitiFatah opened this issue Jul 25, 2023 · 2 comments

Comments

@StitiFatah
Copy link

Environment

  • Operating System: Linux
  • Node Version: v16.19.0
  • Nuxt Version: 3.6.5
  • Nitro Version: 2.5.2
  • Package Manager: yarn@1.22.19
  • Builder: vite
  • User Config: devtools, modules
  • Runtime Modules: @nuxtjs/tailwindcss@6.8.0, @vueuse/motion/nuxt@2.0.0
  • Build Modules: -

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

@danielroe
Copy link
Member

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

@danielroe
Copy link
Member

Confirmed - see https://stackblitz.com/edit/github-85wcaq?file=src/App.vue. We can track upstream in vuejs/core#6951.

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants