framework icon indicating copy to clipboard operation
framework copied to clipboard

Nuxt3 - Transition appear Flag not working

Open rhernandog opened this issue 3 years ago • 1 comments

Environment

  • Operating System: Linux
  • Node Version: v16.17.0
  • Nuxt Version: 3.0.0-rc.8
  • Package Manager: [email protected]
  • Builder: vite
  • User Config: modules
  • Runtime Modules: @nuxtjs/[email protected]
  • Build Modules: -

Reproduction

Repo https://github.com/rhernandog/nuxt3-transitions-issue

Live Sample https://stackblitz.com/edit/nuxt-starter-d2z5mn

Describe the bug

As mentioned in discussion #5717 there is an issue with the appear flag in the using transition, transition group and page transition. In the live sample you'll see that the first load the page doesn't appear. If you navigate you'll see the fade out/in transition between pages working as expected. In the users page you should see an animation for a list of items that never happens, but if you make a change in the file and save it, the animation will happen as expected after the hot reload.

As reported in the discussion I can confirm that all these animations work as expected in a Vue3 project.

Additional context

No response

Logs

No response

rhernandog avatar Aug 26 '22 04:08 rhernandog

Nuxt Version 3.0.0-rc.10 still has problems with transitions.

DaniGTA avatar Sep 20 '22 08:09 DaniGTA

RC11 also still has this issue, repro: https://stackblitz.com/edit/github-1wqbue-fxk6ua

TheDutchCoder avatar Oct 04 '22 18:10 TheDutchCoder

This appears to be reproducible in a non-Nuxt setup and is probably an issue with the vue <Transition> component + SSR. Would you open an issue in https://github.com/vuejs/core?

https://stackblitz.com/edit/github-ncyrhd

danielroe avatar Oct 25 '22 08:10 danielroe

@danielroe Thanks for looking into this! :+1:

I'll create an issue in Vue and link it here so people can track it: https://github.com/vuejs/core/issues/6951

rhernandog avatar Oct 25 '22 16:10 rhernandog