-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/tabs
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
When supplying the disablePagination input to the MatTabGroup component pagination is still present when shrinking the screen size. Likewise, supplying disablePagination in the MAT_TABS_CONFIG does not have an affect.
Reproduction
Steps to reproduce:
-
Set the
disablePaginationproperty to true on a MatTabGroup component -
Shrink the size of the screen to force an overflow
-
Set the
disablePaginationproperty to true on the MatTabsConfig object provided by the MAT_TABS_CONFIG injection token -
Shrink the size of the screen to force an overflow
Expected Behavior
The pagination buttons are not shown and the tab labels overflow the tab labels container.
Actual Behavior
The default pagination behavior is shown:
Environment
- Angular: ^15.0.0
- CDK/Material: ^15.0.0
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/tabs

