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

[Slideover/Modal] Enter transition not working #2127

Closed
fabianbeier opened this issue Sep 6, 2024 · 16 comments · Fixed by #2227
Closed

[Slideover/Modal] Enter transition not working #2127

fabianbeier opened this issue Sep 6, 2024 · 16 comments · Fixed by #2227
Labels
bug Something isn't working upstream

Comments

@fabianbeier
Copy link

Environment

Version

v2.18.4

Reproduction

https://stackblitz.com/edit/github-dbk9vy?file=app.vue

Description

Enter transition of sliderover Module not working properly. Instant appearing of elements (with sometimes slight but too quick transitions). Exit transition works fine.

Tried on Chrome, Firefox & Safari on Mac.

Additional context

No response

Logs

No response

@fabianbeier fabianbeier added bug Something isn't working triage labels Sep 6, 2024
@bikalpabhurtel
Copy link

I'm encountering this issue too. The entry transition of Modal is also not working.

Environment

  • Operating System: Ubuntu 22.04 LTS
  • Node Version: v20.14.0
  • Nuxt Version: 3.13.1
  • CLI Version: 3.13.1
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]

@KonradDRAST
Copy link

Same here. App was working fine a few weeks back, but I updated packages this morning and suddenly entry transition is gone.

My Env:

  • Operating System: Windows_NT
  • Node Version: v20.10.0
  • Nuxt Version: 3.13.1
  • CLI Version: 3.13.1
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]

@gilguo95
Copy link

gilguo95 commented Sep 10, 2024

Same here. The enter transition is either NOT WORKING AT ALL or VERY GLITCHY WITH FLICKERS. But I found that the situation only happens on chrome (macOS version, iOS version is fine). It also works fine on safari. Maybe it's a chrome bug?

Env:

  • Operating System: macOS 14.5
  • Node Version: v20.13.0
  • Nuxt Version: 3.13.1 (compatibilityVersion: 4)
  • CLI Version: 3.12.0
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]
  • Chrome: 128.0.6613.120

@benjamincanac
Copy link
Member

Could you please tell me if using [email protected] fixes the issue? You can set it in your resolutions to try it out.

@createwithjames
Copy link

I'm experiencing the same issue for both Slideovers and Modals

Env:

  • Operating System: macOS 14.5
  • Node Version: v18.19.1
  • Nuxt Version: 3.13.0
  • CLI Version: 3.12.0
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]
  • Chrome: 128.0.6613.120

@fabianbeier
Copy link
Author

@benjamincanac Changed reproduction to 3.13.0. Unfortunately the bug persists. Also tried out 3.12.4 which used to work 2-3 weeks ago but doesn't now.

@Tragio
Copy link
Contributor

Tragio commented Sep 11, 2024

Seems to be related to Headless UI -> tailwindlabs/headlessui#3456 since the Nuxt UI is using TransitionRoot and others under the hood.

@benjamincanac
Copy link
Member

Thanks @Tragio for the investigation, seems to be related to Vue 3.5 then. We'll have to wait for a fix from Headless UI.

@mtzrmzia
Copy link

Is there any workaround? I just downgrade to 3.4.x and Nuxt 3.13.0 but then i got an error.. so doesn't work

@NasrALdaya
Copy link

NasrALdaya commented Sep 14, 2024

I am experiencing the same issue after upgrading to Nuxt 3.13.1

@hoachnt
Copy link

hoachnt commented Sep 15, 2024

Same guys. I thought it was my fault, but after I saw your comments guys maybe it's not my fault

@Lauwisme
Copy link

Can confirm that downgrading vue (in my case to 3.4.27) solved the issue with enter transitions

@mtzrmzia
Copy link

Can confirm that downgrading vue (in my case to 3.4.27) solved the issue with enter transitions

No working for me:

  "dependencies": {
    "@nuxt/ui": "^2.18.4",
    "nuxt": "^3.13.0",
    "vue": "3.4.38",
  },

I'm getting this error:
Slideover.vue:1 Uncaught (in promise) SyntaxError: The requested module '/_nuxt/node_modules/vue/dist/vue.runtime.esm-bundler.js?v=f75796e0' does not provide an export named 'useId' (at Slideover.vue:1:209)

@IJsLauw
Copy link

IJsLauw commented Sep 16, 2024

"dependencies": { "@nuxt/ui": "^2.18.4", "nuxt": "3.11.2", "vue": "3.4.27", }, "overrides": { "vue": "3.4.27" }

This is what's working for me, fwiw.

@benjamincanac benjamincanac changed the title Slideover enter transition not working [Slideover/Modal] Enter transition not working Sep 17, 2024
@schillerenrico
Copy link

not working on the official nuxt ui site either https://ui.nuxt.com/components/slideover

Copy link
Member

@schillerenrico I recently updated the docs to Nuxt 3.13.2 so this makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream
Projects
None yet
Development

Successfully merging a pull request may close this issue.