sb-admin-react icon indicating copy to clipboard operation
sb-admin-react copied to clipboard

Sidebar Navigation Menus

Open bradcarvalho opened this issue 9 years ago • 0 comments

Great port on the sb-admin template!

Issue I've just ran into. When trying to use multiple menu types, for example more than one multiLevelDropdown it will change the state on all of the menus due to the state being the same for each one (multiLevelDropdownCollapsed: true). I understand by looking at the code that this is expected and you've designed it so that each menu has a unique prop. This breaks when trying to do this dynamically or loading a list based off of values from an API (not knowing how many items you'll have).

Any idea on a fix for this?

Cheers, Brad

bradcarvalho avatar Oct 13 '16 12:10 bradcarvalho