-
-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested route links are not seen in "toggleable-mini" mode #1082
Comments
This is actually intentional -- check out the defaultMiniItemRenderer for what is rendered. I'm not really sure the best way to handle nested routes in the mini form so I implemented it in a way where you can always provide a miniNavItems tree for other routes or provide your own mini item renderer. However, I'd be happy for suggestions about the best way to handle the mini navigation. Maybe a better default would be to just grab all routes that have a So for the documentation site example, we'd have:
|
Suggestion 1:
Suggestion 2:
|
Hi, any plan for this? |
Hey, sorry for the late response - I've been working on something interesting at work so haven't really checked in much to github. I'll implement something close to these suggestions since I like it better than my implementation. I mostly thought of the mini navigation as "quick access links" instead of a mini tree. |
The nested route link is not shown in "toggleable-mini" mode. Please refer the demo:
https://react-md.dev/packages/layout/demos
"Route 2" icon is not shown, so we cannot go to this route in "toggleable-mini" mode; how the route 2 sub-links should be shown in "toggleable-mini" mode?
Thanks!
The text was updated successfully, but these errors were encountered: