Open
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
No response
Description
This was discussed previously in #6104
Last comment was:
Confirmed that there is no scrollbar during animation in v15: https://stackblitz.com/edit/angular-shzd6r-pwokjj (tested on Chrome w/ MacOS) - @mmalerba
However using the stackblitz example in Google Chrome, shows the scrollbar each time you tab from Title 1 to Title 2.
Using dynamicHeight on mat-tab-group still works as a workaround.
Reproduction
StackBlitz link: Link
Steps to reproduce:
- switch tabs
Expected Behavior
No scrollbar
Actual Behavior
Scrollbar flashes for a short moment
Environment
- Angular: 16.1.2
- CDK/Material: 16.1.2
- Browser(s): Google Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows 11