Skip to content

Sidebar Navigation Menus #21

Open
Open

Description

@bradcarvalho

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions