Skip to content

CSS layers reordered by Icon #4058

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

Open
cco3 opened this issue May 3, 2025 · 0 comments
Open

CSS layers reordered by Icon #4058

cco3 opened this issue May 3, 2025 · 0 comments
Labels
bug Something isn't working triage v3 #1289

Comments

@cco3
Copy link

cco3 commented May 3, 2025

Environment

------------------------------
- Operating System: Linux
- Node Version:     v20.12.0
- Nuxt Version:     3.16.1
- CLI Version:      3.24.0
- Nitro Version:    2.11.8
- Package Manager:  pnpm@8.15.6
- Builder:          -
- User Config:      modules, devtools, compatibilityDate, future, css
- Runtime Modules:  @nuxt/ui@3.1.1
- Build Modules:    -
------------------------------

Is this bug related to Nuxt or Vue?

Nuxt

Version

v3.1.1

Reproduction

https://codesandbox.io/p/devbox/clever-ptolemy-vcshnz

  1. Visit repro link in chrome (make sure to click the refresh button to get a clean state)
  2. Inspect element and view layer order

Image

  1. Click link to go to the page without an icon
  2. Inspect an element (important: reassesses layer ordering in chrome) and view layer order
  3. Observe that layer order has not changed

Image

  1. Click link to go to the page with an icon
  2. Inspect an element (important: reassesses layer ordering in chrome) and view layer order
  3. Observe that layer order has changed

Image

Additional context

The red/green div in the repro demonstrates an example of how this can end up applying unexpected styles after a page navigation event.

Original question asked here: #4054

@cco3 cco3 added bug Something isn't working triage v3 #1289 labels May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage v3 #1289
Projects
None yet
Development

No branches or pull requests

1 participant