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

feat: highlight nav by default when one of the items is matched #2893

Merged
merged 1 commit into from Sep 10, 2023

Conversation

evanryuu
Copy link
Contributor

@evanryuu evanryuu commented Sep 1, 2023

Currently, you have to set activeMatch to highlight the navgroup, otherwise the nav will not be hightlighted when child item is active.
image

I personally think that it'll be better and more comprehensive to highlight the nav by default when one of the items is matched.

With this PR, nav can be highlighted even with nested items
image
image

@evanryuu evanryuu changed the title feat: highlight nav when one of the items is matched by default feat: highlight nav by default when one of the items is matched Sep 1, 2023
@brc-dd brc-dd merged commit b1fbece into vuejs:main Sep 10, 2023
7 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants