Skip to content

fix: RangeSlider issues with non-zero min#442

Open
migroble wants to merge 1 commit intothaw-ui:mainfrom
migroble:main
Open

fix: RangeSlider issues with non-zero min#442
migroble wants to merge 1 commit intothaw-ui:mainfrom
migroble:main

Conversation

@migroble
Copy link
Copy Markdown

Range sliders didn't take the minimum value into account when calculating the progress or when transforming the clicked pixel coordinates into values.

The following example illustrates the issue with a range slider from 1 to 10 and default values of 1 and 10.

Before:
before
When sliding the thumb, the range is limited to 1-9.

After:
after
Now the full range is available.

Range sliders didn't take the minimum value into account when
calculating the progress or when transforming the clicked pixel
coordinates into values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant