You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
strickc
changed the title
[Slider] discreteTicks wrong in cases where min not zero
[Slider] step behavior wrong in cases where min not zero
Oct 11, 2017
Description
When using a slider with a step defined the increments are miscalculated and do not match the value provided by step.
Images/Screenshots
The incorrect bottom slider cannot be set to 2.5 or 2.75, despite those being evenly divisible by the 0.25 step starting at 0.5.
Link to a gist or code sample where the issue can be reproduced
Issue is displayed on the forked codepen template:
https://codepen.io/strickc/pen/VMdOLX
Version
I'd be interested in providing a fix for this bug if a pull request is welcome.
Edited to correct my confusion between the step and discreteTicks properties.
The text was updated successfully, but these errors were encountered: