Search and Top Navigation
#10687 closed bug (notabug)
Opened November 05, 2014 05:28PM UTC
Closed November 05, 2014 05:32PM UTC
Last modified November 05, 2014 06:03PM UTC
Can't select max value in slider range
Reported by: | i23098 | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.slider | Version: | 1.11.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Using the slider in range mode, if the fractional part of the max value is smaller than the one in the min value, after we reduce the max value, can't set it back to the max.
Can check a fiddle in http://jsfiddle.net/7dqLLkpb/ The max value becomes 96802.70999999999 (instead of 96803.38)
Attachments (0)
Change History (3)
Changed November 05, 2014 05:32PM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
Changed November 05, 2014 05:37PM UTC by comment:2
Replying to [comment:1 scott.gonzalez]:
Because you have a step mismatch.
Sorry, can you explain? I haven't specified a step... If min and max have different fractional parts, I have to calculate the best step to match?
Changed November 05, 2014 06:03PM UTC by comment:3
You're using the default step of 1
. See http://api.jqueryui.com/slider/#option-step
Please use the forums, Stack Overflow, or IRC for support.
Because you have a step mismatch.