Using MDB5 1.1.0 / pro (not selectable here)
As the "close on click" functionality seems not to be available anymore I trigger clicks with an event listener calling
const sidenavInstance = new mdb.Sidenav(document.getElementById('sidenav-root-container')) sidenavInstance.hide();
Works fine. I'd also expect the backdrop to be hidden though. Actually the backdrop is not hidden by calling sidenavInstance.hide(); and has to be hidden manually also.
Any plans on this? Thx
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: 1.0.0
- Device: mac
- Browser: safari, chrome
- OS: osx
- Provided sample code: No
- Provided link: No