Navbar highlighting does not work with Organized Content sections #181
Labels
No Label
a11y
Backlog
Blocked
Bug
Content
Dependencies
Design
Feature Request
Good First Issue
In Progress
Performance
Priority - High
Priority - Low
Priority - Medium
Untriaged
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: www/www-new#181
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The navbar entries for pages that use the Organized Content are not blue when viewing only a section of the content. (The highlighting works fine when viewing "Read All.")
![image](/www/www-new/attachments/b61f9d66-7a6c-43bd-95b8-c2446d617f57)
I think this is happening because of this code:
In the organized content component, when you navigate to a section, we add the section slug to the route, so the
router.pathname === props.route
check will return false.