Mantine NavLink multiple opend option. #6229
Replies: 2 comments
-
NavLink component does not restrict the number of opened components at a time. You can see that in the demo – https://mantine.dev/core/nav-link/#nested-navlinks |
Beta Was this translation helpful? Give feedback.
-
What I mean is, When I set the I guess it's because condition for the parent element does not match when select its child. SOLUTION DRAWBACKS
I am looking forward to better solutions for this if have any provided by this Component. Thanks. 💯 |
Beta Was this translation helpful? Give feedback.
-
Hey,
I have nested elements listed inside other elements. Using
opened
property in NavLink to keep the selectedElement opened.Problem: The issue is If I try to open elements inside the container it immediately closes the parent NavLink. Because it only opens one at a time. But I want them both be opened. If any child is opened then all the immediate parents should also be opened. And I can toggle between them.
What I'm specially looking for is the multiple option.
Thank you :)
Beta Was this translation helpful? Give feedback.
All reactions