bug(MatTabGroup): disablePagination property not disabling Pagination on MatTabGroup #26621
Closed
1 task
Labels
area: material/tabs
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Is this a regression?
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, supplyingdisablePagination
in theMAT_TABS_CONFIG
does not have an affect.Reproduction
Stackblitz example
Steps to reproduce:
Set the
disablePagination
property to true on a MatTabGroup componentShrink the size of the screen to force an overflow
Set the
disablePagination
property to true on the MatTabsConfig object provided by the MAT_TABS_CONFIG injection tokenShrink 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
The text was updated successfully, but these errors were encountered: