-
Notifications
You must be signed in to change notification settings - Fork 254
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
[Bug]: navigation popoever doesn't follow hovered item #705
Comments
I also want to add that when using indicator And when using |
@ZTL-UwU My menu has some custom tweaks, so I am not sure this will work if you use example from the docs. Try this: Then it should auto-position the dropdown, only drawback is that dropdown can't have bigger width than the NavigationMenuRoot div. Edit: this is my class for the root: |
So, this indicator translate happens because of how So if someone is using indicator:
If you just want to fade the indicator (without translating it to the initial state), replace all [state-hidden] and [state-visible] classes with this: And fade-in and fade-out is already defined in tailwind.config.js as part of shadcn. I just like to adjust it to my custom settings:
|
@ZTL-UwU This is long standing issue in This should be fixed in |
Reproduction
https://stackblitz.com/edit/oaoibr?file=src%2FApp.vue
Describe the bug
The popoever always stays at the front even though the hovered item is at the back.
System Info
Contributes
The text was updated successfully, but these errors were encountered: