Closed
Description
Reproduction
Steps to reproduce:
- Go to this stackblitz https://stackblitz.com/edit/angular-ptyfdp?file=src/app/tab-group-dynamic-example.html
- Add or delete tabs so that you have the maximum of tabs shown without having a paginator
- Click on "expand" button so that the layout of the view changes
Expected Behavior
I would expect that if the layout of the view changes and the tabs do not have enough space anymore the paginator elements are shown automatically. If the tabs have enough space the paginator elements should disappear.
Actual Behavior
Paginator elements are only added when I resize the window. Not when the layout changes.
Environment
- Angular: 12.1.2
- CDK/Material: 12.1.2
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows