Frachtwerk / essencium-frontend

Next.js based starter monorepo consisting of a component library, types, docs and a boilerplate application.
https://staging.essencium.dev
GNU Lesser General Public License v3.0
17 stars 1 forks source link

Highlight NavLink in sidebar on child paths #545

Closed PhilKsr closed 5 months ago

PhilKsr commented 7 months ago

Describe the bug When navigating to child paths (for example "/users/2334") the NavLink in the sidebar is not highlighted like on parent paths "/users".

To Reproduce

  1. Create child path
  2. Navigate to child path
  3. Look at the NavLink in sidebar

Expected behaviour NavLinks are also highlighted when the user navigates to child paths.

Screenshots child_path