-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
GThis is is related to a Google internal issueThis is is related to a Google internal issueP3An 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/slider
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
https://stackblitz.com/edit/angular-us2jqe-a7chp1?file=src%2Fapp%2Fslider-overview-example.ts
The thumb is not correctly positioned when resizing the container of a mat-mdc-slider. However, the track is.
Reproduction
Steps to reproduce:
- Have a mat-mdc-slider with CSS
width: 100%
- Resize it's container with any means other than window resize (i.e., a UX could have a panel that pushes content meaning the container will be less wide)
Expected Behavior
Thumb and track are always aligned
Actual Behavior
Thumb and track stop being aligned
Environment
- Angular: 13
- CDK/Material: 13
- Browser(s): All
- Operating System (e.g. Windows, macOS, Ubuntu): All
Metadata
Metadata
Assignees
Labels
GThis is is related to a Google internal issueThis is is related to a Google internal issueP3An 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/slider