You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The react-minimal-side-navigation library does not correctly render or handle multi-level nested navigation items. While the library allows for basic nested navigation, it fails when attempting to display or interact with items that are more than one level deep (i.e., items with children that also have children).
Steps to Reproduce:
Create a navigation structure with multiple levels of nesting:
Notice that the second level of navigation (e.g., Laptops, Phones) is either not rendered, inaccessible, or not interactive.
Expected Behavior:
The component should allow for deeper levels of nested navigation, rendering each level correctly and maintaining interactivity for all items.
Actual Behavior:
The second level of navigation does not render properly, or the children of nested items are not accessible.
Additional Context:
This issue limits the usability of the library for applications that require more complex navigation structures.
No errors are thrown in the console, but navigation beyond one level deep is broken.
Possible Solution:
Add recursive rendering support for nested children in the navigation items.
Ensure that all levels of nested items are rendered dynamically based on the depth of the children array.
The text was updated successfully, but these errors were encountered:
Description:
The react-minimal-side-navigation library does not correctly render or handle multi-level nested navigation items. While the library allows for basic nested navigation, it fails when attempting to display or interact with items that are more than one level deep (i.e., items with children that also have children).
Steps to Reproduce:
Create a navigation structure with multiple levels of nesting:
Pass the data to SideNav:
Notice that the second level of navigation (e.g., Laptops, Phones) is either not rendered, inaccessible, or not interactive.
Expected Behavior:
The component should allow for deeper levels of nested navigation, rendering each level correctly and maintaining interactivity for all items.
Actual Behavior:
The second level of navigation does not render properly, or the children of nested items are not accessible.
Environment:
Library Version: react-minimal-side-navigation 3.x.x
React Version: 17.x / 18.x
Browser: Chrome / Firefox / Safari
Additional Context:
This issue limits the usability of the library for applications that require more complex navigation structures.
No errors are thrown in the console, but navigation beyond one level deep is broken.
Possible Solution:
Add recursive rendering support for nested children in the navigation items.
Ensure that all levels of nested items are rendered dynamically based on the depth of the children array.
The text was updated successfully, but these errors were encountered: