Topic: Navbar flashes open on bootstrap with Angular Universal on Mobile

maenthoven pro asked 5 years ago


Blocker for our launch:

https://drive.google.com/file/d/1UsT2enkaJWRqEyuV8MPtD0OO8DD11BNS/view?usp=sharing

This is a screenshot of where it happens: https://imgur.com/a/ibZjalw

Bug is in this file: navbar.component.ts

Bug happens because you set collapse = true within a timeout in afterViewInit()

collapse should be set to true by default (in the constructor)

Line 22

public collapse = false;

Damian Gemza staff answered 5 years ago


Dear @maenthoven 

This problem will be resolved with the next version of MDB Angular.

Best Regards,

Damian


Damian Gemza staff answered 5 years ago


Dear @maenthoven 

This is not fixed yet. We'll let you know when this will be fixed.

Best Regards,

Damian


maenthoven pro answered 5 years ago


Is this fixed? Hoping to launch soon...


maenthoven pro answered 5 years ago


Why does this keep being marked as resolved?

This is not resolved.


Damian Gemza staff answered 5 years ago


Dear @maenthoven 

I cannot provide you some ETA on this fix, because we've got some other things to do in our actual tasks list. Please be patient, and watch our changelog for more information about your problem.

Best Regards,

Damian


maenthoven pro answered 5 years ago


Ok. Any idea when this will be fixed by?


Damian Gemza staff answered 5 years ago


Dear @maenthoven 

Thanks for your report! We'll take a closer look at this, and we'll fix this problem.

Best Regards,

Damian



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.0.0
  • Device: All
  • Browser: Chrome, Safari, Firefox
  • OS: iOS, Android
  • Provided sample code: Yes
  • Provided link: Yes