Topic: Sidenav with accordion and slim
KeHa priority asked 1 year ago
Expected behavior When i have a sidenav with slim-toggle and slim the it we see the icons for the corresponding names. When we now have a accordion open to see the sub menu and slim the sidenav the accordion is automatically closed. I think it should also stay open and show the icons. Also when i sidenav is slim and i open the accordion the sidenav will expand. Actual behavior Slim sidenav will close the accordion. Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/keha/5382739
Kamila Pieńkowska staff answered 1 year ago
This is expected behavior. If the accordion will stay open after sidenav is made slim there would be plenty of unnecessary space between icons and probably the first few pixels of every option inside will be shown.
You can customize that if you expect another behavior but we do not have plans of changing that.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 6.2.0
- Device: Think Centre
- Browser: Firefox
- OS: Win10
- Provided sample code: No
- Provided link: Yes