spectrum-web-components
spectrum-web-components copied to clipboard
[Bug]: Slider with `variant="filled"` AND `fill-start` fills in unexpected ways.
trafficstars
Code of conduct
- [X] I agree to follow this project's code of conduct.
Impacted component(s)
Slider
Expected behavior
When using the Slider like so:
<sp-slider
variant="filled"
fill-start
></sp-slider>
I'd expect the fill to start at 50% of the track and fill from there to the current handle location.
Actual behavior
The fill starts at 0 and goes to the handle, if the handle is less that 50% it will continue through the handle to the 50% point.
Screenshots
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
No response
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response