-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: 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
In certain conditions when removing tab the blank space remains.
Reproduction
Can be reproduced on angular components demo page: https://material.angular.io/components/tabs/examples#tab-group-dynamic
https://youtu.be/LAtw54i27wE
Steps to reproduce:
- Create many tabs, paggination buttons must be visible
- Scroll to the last tab
- Delete it
Expected Behavior
Deleted tab disappears and whole tab grup is scrolled to fill blank space
Actual Behavior
Deleted tab disappears blank space remains.
Environment
- Angular:
- CDK/Material:
- Browser(s):
- Operating System (e.g. Windows, macOS, Ubuntu):
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: material/tabs