Topic: SideNav Persists When Taken Out of Maximized Mode
nathan.malone asked 5 years ago
Expected Behavior: I expected that when the browser window was dragged from being in maximized mode to windowed mode that is less than the "xl" size that the fixed side nav would hide and the button with the "hamburger" icon would appear on the navbar to toggle the side nav.
Actual Behavior: When the browser window is dragged from maximized mode to windowed mode that is less than the "xl" size, the side nav does not hide, but the navbar animates as if it expects the sidenav to hide. However, when I resize the browser window by dragging the edges, the sidenav hides. Finally, after toggling the sidenav via the "hamburger" button, the sidenav shows and hides as expected as the window is taken into and out of maximized mode.
Resources: The best example is actually the MDB website itself. I have uploaded a gif to Imgur showing this issue.
Mateusz Łubianka staff answered 5 years ago
Hi @nathan.malone,
I created a task with this issue. Thank you very much for reporting this.
Best,
nathan.malone commented 5 years ago
In the meantime, do you have a suggested work-around?
Mateusz Łubianka staff commented 5 years ago
I'm afraid that the only solution is to edit the sidenav code. Our team will fix this as soon aspossible. Sorry for the inconvenience.
Best,
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.15.0
- Device: Desktop PC
- Browser: Chrome 80.0, Edge 42.17134
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes