Skip to content

Conversation

@kgajera
Copy link

@kgajera kgajera commented Dec 6, 2025

This corrects the classes used for NavigationMenuPrimitive.Link to apply active styles.

Radix sets the data-active attribute, not data-active="true": https://www.radix-ui.com/primitives/docs/components/navigation-menu#link

Before

Screenshot 2025-12-07 at 7 31 33 PM Screenshot 2025-12-07 at 7 31 41 PM

After

Screenshot 2025-12-07 at 7 30 33 PM Screenshot 2025-12-07 at 7 30 45 PM

Fixes #6914

@vercel
Copy link
Contributor

vercel bot commented Dec 6, 2025

@kgajera is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: active prop not working on NavigationMenuLink V4

1 participant