- Issue created by @pjotr.savitski
- 🇳🇿New Zealand quietone
Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies.
New experimental navigation module does not mark sidebar menu element as active if the current address is not the base URL of the section.
Expected outcome is for the main section to be marked as active in the sidebar.
JavaScript in toolbar-menu.js is using document.URL === link.href
to determine the active status for both toolbar menu links and toolbar menu buttons. The latter ones would need a different check that accounts for URL not always being equal to the value of the anchor href attribute.
One possible solution would be to use document.URL.startsWith(link.href)
to determine the active visuals of the toolbar menu button so that the elements would be visually consistently active.
None.
None.
None.
None.
Active
10.4 ✨
Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies.