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

Bleedthrough in NavigationMenu #3654

Closed
rafte opened this issue Mar 23, 2025 · 4 comments
Closed

Bleedthrough in NavigationMenu #3654

rafte opened this issue Mar 23, 2025 · 4 comments
Labels
bug Something isn't working v3 #1289

Comments

@rafte
Copy link

rafte commented Mar 23, 2025

Environment

Is this bug related to Nuxt or Vue?

Nuxt

Version

v3.0.1

Reproduction

https://codesandbox.io/p/devbox/lucid-austin-yffg3c

Description

When a NavigationMenu is rendered above a RadioGroup or Table, the underlying component visually bleeds through the NavigationMenu. This may also affect other components.

Expected behavior: The NavigationMenu should overlay and obscure any underlying components completely without bleed-through.

Reproduction: Render a NavigationMenu directly above a RadioGroup or Table. Observe visual bleed-through.

Image
Image

Additional context

No response

Logs

@rafte rafte added bug Something isn't working triage v3 #1289 labels Mar 23, 2025
@HugoRCD
Copy link
Member

HugoRCD commented Mar 23, 2025

@rafte Your reproduction doesn't use 3.0.1 but 3.0.0 so you need to add @import "tailwindcss" theme(static); instead of @import "tailwindcss";.

Image

@HugoRCD
Copy link
Member

HugoRCD commented Mar 23, 2025

But indeed I just saw that the menu is transparent 🤔

@rafte
Copy link
Author

rafte commented Mar 23, 2025

@HugoRCD Thanks, I updated the reproduction.

@HugoRCD
Copy link
Member

HugoRCD commented Mar 23, 2025

Why not simply add a z-index? This work for me 🤔

<UNavigationMenu :items="items" class="w-full z-10" />

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

No branches or pull requests

3 participants