bug(MatSlider): MatSliderRangeThumb input width is not changed if the input value is changed dynamically
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
The MatSlider does not changes the width of the input[matSliderStartThumb] and the input[matSliderEndThumb] when a user changes the inputs value dynamically.
Reproduction
StackBlitz link: https://stackblitz.com/edit/components-issue-pkhpjl?file=src%2Fapp%2Fexample-component.ts Steps to reproduce:
- Refresh the page
- Click on "next step" button
- Drag the slider's right thumb to right. Drop it.
Expected Behavior
The "end" thumb has the respective value
Actual Behavior
The "start" and "end" thumb are wrong placed
Environment
- Angular: 15.2.6 - 16.2.1
- CDK/Material: 15.2.6 - 16.2.1
- Browser: Safari, Chrome
- Operating System: macOS, Windows
Looks like the "inactive" widths are not getting updated when the slider value is being programmatically updated. I'll look into this more today
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.