Topic: MDB-Navbar Flickering on routes navigation change
bmsbreaux pro asked 6 years ago
Hi,
I have a problem with using mdb-navbar component in the last version.
Actually we are using angular cli 1.7.4 and core 5.2.9 and when we navigate through menu in mdb-navbar it causes a flickering to the menu. Also removing this component (mdb-navbar) and used bootstrap navbar worked and does not make flickering of menu in header.
Please you can check this issue on: https://gilded-dev.firebaseapp.com using a google account to sign in and check the menu in header section.
Thank you
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Opened
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags
Damian Gemza staff commented 6 years ago
Dear bmsbreaux, Actually, I'm unable to observe a flickering effect which you're describing on your page. Could you make me some movie on which there will be visible this flickering? Best Regards, Damianbmsbreaux pro commented 6 years ago
Hi @Damian, Please you can watch here: https://www.useloom.com/share/b85fe90d0c7e4976b030e174d9d2bba0 Thank you.Damian Gemza staff commented 6 years ago
Dear bmsbreaux, For me, it's proper behavior. If one page hasn't got navbar and second got, when you'll open the second page, browser need some time to render your navbar. And that's your flickering effect. I can't advise you anything to fix your situation. Maybe open your navbar while ngOnInit? Don't know if this would help. Best Regards, Damian