nuxt / ui

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
https://ui.nuxt.com
MIT License
4.04k stars 509 forks source link

[Slideover/Modal] Enter transition not working #2127

Closed fabianbeier closed 1 month ago

fabianbeier commented 2 months ago

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

bikalpabhurtel commented 1 month ago

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

Environment

KonradDRAST commented 1 month ago

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

My Env:

gilguo95 commented 1 month ago

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:

benjamincanac commented 1 month ago

Could you please tell me if using nuxt@3.13.0 fixes the issue? You can set it in your resolutions to try it out.

createwithjames commented 1 month ago

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

Env:

fabianbeier commented 1 month ago

@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 commented 1 month ago

Seems to be related to Headless UI -> https://github.com/tailwindlabs/headlessui/issues/3456 since the Nuxt UI is using TransitionRoot and others under the hood.

benjamincanac commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

I am experiencing the same issue after upgrading to Nuxt 3.13.1

hoachnt commented 1 month ago

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

Lauwisme commented 1 month ago

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

mtzrmzia commented 1 month ago

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 commented 1 month ago

"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.

schillerenrico commented 1 month ago

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

benjamincanac commented 1 month ago

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