Skip to content

NavExpandable does not expand or collapse programmatically  #1016

@marshmalien

Description

@marshmalien

If the NavExpandable component prop isActive is set to true, it would be great to have an option to expand it automatically.

Setting the value of isExpanded to true or false does not expand or collapse the nav list items. When NavToggle is manually selected, it calls this.setState({ value: !value }); from within handleToggle. This successfully toggles the NavExpandable open and close. We would like to be able to set the value of isExpanded programmatically by passing/setting props. Currently, this option isn't available.

nav bug

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