Show parent Nav as active as well #4534
Answered
by
gazi786
gazi786
asked this question in
Help and support
-
If a dependent route is selected how can I make the parent nav active as well. That is have the Mui-selected class attached to the parent node as well. |
Beta Was this translation helpful? Give feedback.
Answered by
gazi786
Dec 16, 2024
Replies: 1 comment 7 replies
-
Hi, you should be able to make it work with navigation pattern matching? https://mui.com/toolpad/core/react-dashboard-layout/#navigation-pattern-matching Otherwise feel free to share your specific configuration! |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if working with react-router
set your route...
dynamic route: