Skip to content

Constrain multi-slider values to within min/max range.#127

Open
pepopowitz wants to merge 1 commit intodavidchin:masterfrom
pepopowitz:master
Open

Constrain multi-slider values to within min/max range.#127
pepopowitz wants to merge 1 commit intodavidchin:masterfrom
pepopowitz:master

Conversation

@pepopowitz
Copy link
Copy Markdown

Addresses the “range out of scope” issue - #117

The issue was happening on a multi-value slider with a wide range of accepted values, when you click on the "outside" edge of the handle.

For example, if the range slider goes from 1 to 100, and my min is on 1, I could make the min go to -1 by clicking on the left edge of the handle and letting go.

I added two tests - one for the min, one for the max.

Addresses “range out of scope” issue - davidchin#117
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