-
Notifications
You must be signed in to change notification settings - Fork 8
Cannot change selected menu item #12
Copy link
Copy link
Open
Description
When clicking on a menu item to navigate to a new page, my expectation was that the new menu item would be highlighted. However, that was not the case.
Looking at the source code:
| selected={link === '/' ? true : false} |
It appears that highlighting will only happen if the link attribute of the MenuItem is exactly /. Is the highlighting only meant for Home menu items?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels