spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Bug]: Slider with `variant="filled"` AND `fill-start` fills in unexpected ways.

Open Westbrook opened this issue 1 year ago • 0 comments
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

image

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

Westbrook avatar Jan 29 '24 22:01 Westbrook