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

UVerticalNavigation does not respect exact links #417

Closed
wvffle opened this issue Jul 15, 2023 · 1 comment
Closed

UVerticalNavigation does not respect exact links #417

wvffle opened this issue Jul 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@wvffle
Copy link

wvffle commented Jul 15, 2023

Version

@nuxthq/ui: ^2.2.0
nuxt: ^3.5.0

Reproduction Link

https://stackblitz.com/edit/nuxtlabs-ui-d9pe9e?file=pages%2Frepro%2F[id].vue

Steps to reproduce

  1. Navigate to /repro/test
  2. See the navigation highlighting only 1 item
  3. Navigate to /repro/test/page-2
  4. See the navigation highlighting 2 items

What is Expected?

The navigation should highlight only second entry.

What is actually happening?

The navigation highlights entry for /repro/test and /repro/test/page-2 as they're both matched although the first link has exact set to true

@wvffle wvffle added the bug Something isn't working label Jul 15, 2023
Copy link
Member

Thank you for reporting this!

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

No branches or pull requests

2 participants