Skip to content

Minimum value goes below floor when using maxRange #377

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ghost opened this issue Jul 28, 2016 · 2 comments
Closed

Minimum value goes below floor when using maxRange #377

ghost opened this issue Jul 28, 2016 · 2 comments
Labels

Comments

@ghost
Copy link

ghost commented Jul 28, 2016

Steps to reproduce

  1. Click and drag minimum value handle to the right of the maximum value handle, about the distance in the screenshot (1920x1080 resolution). This distance is greater than (or equal?) to the length of the bar if you were at the maximum range.
    sliderdragdistance
  2. Note that the minimum handle value becomes max minus maxRange.

Demo: http://jsfiddle.net/udL8nhce/3/

Expected behaviour

Minimum value slider should stay at its current value, and not go past provided range.

Actual behaviour

Minimum value slider goes to unexpected value outside of available ranges.

@ValentinH
Copy link
Member

Good catch 👍 I'll look into that when I get some time ;)

@ValentinH ValentinH added the bug label Jul 28, 2016
@ValentinH ValentinH mentioned this issue Jul 29, 2016
ValentinH added a commit that referenced this issue Aug 2, 2016
* Add unit test showing the issue

* Fix the issue
@ValentinH
Copy link
Member

Fixed in 5.4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant