Closed
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
Angular Material 18
Description
There is a flickering issue when switching between tabs using Angular Material's mat-tab component in Angular 19+ versions.
Reproduction
- Create a new Angular 19+ project with Angular Material installed.
- Add Angular Material Tabs component to the app (use the mat-tab-group and mat-tab elements).
- Use multiple tabs in the tab group.
- Disable mat-tab-group animationDuration
- Switch between tabs.
- Observe that there is a flickering effect when switching between tabs.
Expected Behavior
The tabs should switch smoothly without any flickering when changing between tabs, like it did on previous angular version such as 18 or lower.
Actual Behavior
When switching between Angular Material tabs in Angular 19+, the content area flickers with a noticeable white flash.
Environment
- Angular: 19+
- CDK/Material:19+
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows 11