-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SideNavMenu isSideNavExpanded prop not working #4669
Comments
Yeah just wanted to confirm that we are seeing this as well in IBM Security -- Moreover, what is the difference between cc @joshblack @asudoh have either of you seen this as well? |
Seems that @aagonzales Should the left drawer being shown/hidden (expanded/collapsed) affect the side nav item (category) being expanded/collapsed? |
Sorry, I'm not sure I'm following. I'm only seeing a dropdown in the codepen demo and nothing concerning the sideNav. Could some do a screen recording of what's happening maybe? |
The dropdown is the sidenav, I have passed a boolean Essentially there is no way to control whether the dropdown (sidenav) is expanded, except through actual clicks. Cannot link the expanding/collapsing with other functionalities. |
@aagonzales Sorry for the hard-to-understand question. I figured it out - The logic around Note to devs: It means that @jendowns Unless we don't want to have side nav menu open again when side nav is back expanded, change in |
After updating to the latest version of v10, this can be controlled with the |
What package(s) are you using?
carbon-components
carbon-components-react
Detailed description
When using SideNavMenu component, passing a boolean value as
isSideNavExpanded
has no effect on the rendered resultYes
I would like to see the component respond to the prop as described in the documentation.
Firefox, Chrome
Latest
IBM Cloud Docs
Steps to reproduce the issue
true
toisSideNavExpanded
Additional information
https://codesandbox.io/s/codesandbox-wc712?fontsize=14
The text was updated successfully, but these errors were encountered: