angularmdbootstrapangular-upgradeangular19

UI glitch issue after updating Angular 19


I updated my angular application from version 18 to 19. after the updation I am facing glitch issue in UI, in detail when a component loads the MDB bootstrap UI like buttons , menu and mat-cards bars are showing it's default style for a seconds . then it showing the my customized style. There is no time to take a screen shot of that glitch, How can I fix this glitch issue,

this is my networkThis is the UI when loading


Solution

  • This is an open issue in Angular v19 and is related to dev-mode and to the Hot-Module-Replacement that was activated also for CSS in Angular 19. See https://github.com/angular/angular/issues/59058