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

Modal and slideover z-index bug #3079

Closed
schillerenrico opened this issue Jan 13, 2025 · 1 comment
Closed

Modal and slideover z-index bug #3079

schillerenrico opened this issue Jan 13, 2025 · 1 comment
Labels

Comments

@schillerenrico
Copy link

schillerenrico commented Jan 13, 2025

Environment

Node 22
Nuxt 4

Is this bug related to Nuxt or Vue?

Nuxt

Version

v3.0.0 alpha 10

Reproduction

  1. create a modal and a slideover using useModal and useSlideover
  2. create a button (first button) that opens the modal with useModal()
  3. create one as well (second button) INSIDE! the slideover that opens the same modal with useModal()

Description

Now open the modal outside the slideover with the first button. Thats set an index I suppose.
But now if you open the slideover and click the second button which opens the same modal, it appears behind the slideover.

But if you reload the page, open the slideover first and then press the second button without ever pressing the first button to open the modal it appears infront.

Additional context

Image

Image

Logs

@schillerenrico schillerenrico added bug Something isn't working triage v3 #1289 labels Jan 13, 2025
Copy link

This issue was closed because it was open for 7 days without a reproduction.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants