Topic: SideNav fully expanded then visibly collapses on page load
Michal Szymanski staff pro premium priority answered 8 years ago
Alberto pro answered 7 years ago
[hidden]="_isSideNavHidden"to the mdb-sidenav and in your component code set it to false in the ngAfterViewInit hook. Use a setTimeout call to avoid the change detection error. The navbar has the same issue and you can do the same there.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No