[SideNavMenu]: regression SideNavMenu no longer collapses in isRail mode when SideNav is not expanded #9725
Closed
2 tasks done
Labels
component: ui-shell
package: react
carbon-components-react
severity: 2
https://ibm.biz/carbon-severity
type: bug 🐛
Package
carbon-components, carbon-components-react
Browser
Chrome
Package version
v10.44.0, v7.44.0
Description
The expected behavior is for the SideNavMenu item to collapse when the SideNav collapses, and it was fixed at one point: https://deploy-preview-3626--carbon-components-react.netlify.app/?path=/story/ui-shell--sidenav-rail, but there has been a regression and it no longer closes. Also visible in the current storybook: https://react.carbondesignsystem.com/?path=/story/components-ui-shell--side-nav-rail
CodeSandbox example
https://codesandbox.io/s/peaceful-pare-fbo9u?file=/src/index.js
Steps to reproduce
Click the a SideNavMenu item to expand it, move mouse after from SideNav to cause it to collapse into rail mode. Extra space is still visible where submenu items are.
Code of Conduct
The text was updated successfully, but these errors were encountered: