Second level should be marked as active and expanded when level three menu item is active

Created on 4 April 2024, 8 months ago
Updated 8 May 2024, 6 months ago

Problem/Motivation

When I'm visiting a page that is linked as a level three menu item, I would expect both the level 1 and 2 items to be highlighting the active trail. This includes keeping the second level menu item open by default to be able to show the active menu item:

On top of this, we should make sure that the active trail is shown in the menu even when user is on a page that is not directly linked from the navigation. This was fixed recently in the core Toolbar module, which we could potentially use as an inspiration for the fix: 🐛 Toolbar doesn't indicate active menu trail for pages not included in Toolbar Fixed .

Steps to reproduce

Proposed resolution

Link to designs on Figma to see all the states.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Navigation 

Last updated about 3 hours ago

No maintainer
Created by

🇫🇮Finland lauriii Finland

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024