Skip to content

[5.x] Fix active state for nav items with implicit children - #11937

Merged
jasonvarga merged 6 commits into
5.xfrom
fix-nav-updater-active-state
Jul 8, 2025
Merged

jasonvarga merged 6 commits into
5.xfrom
fix-nav-updater-active-state

Conversation

@jesseleite

Copy link
Copy Markdown
Contributor

Likely during this refactor, we introduced a small regression around checking active state on nav items with implicit children via nested URLs.

For example, when you visit /cp/updater/seo-pro, it is not properly making the Updates nav item active. This PR fixes that.

CleanShot 2025-07-08 at 10 21 40

@jesseleite
jesseleite force-pushed the fix-nav-updater-active-state branch from 55ac700 to ceaf3b8 Compare July 8, 2025 14:27
@jesseleite jesseleite changed the title [5.x] Fix nav active state for implicitly nested URLs on items with no explicit children [5.x] Fix nav active state for implicit children Jul 8, 2025
@jesseleite jesseleite changed the title [5.x] Fix nav active state for implicit children [5.x] Fix active state for nav items with implicit children Jul 8, 2025
@jesseleite
jesseleite requested a review from jasonvarga July 8, 2025 14:46
@jasonvarga
jasonvarga merged commit fd6f832 into 5.x Jul 8, 2025
@jesseleite
jesseleite deleted the fix-nav-updater-active-state branch July 8, 2025 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants