Skip to main content

Search and Top Navigation

#12852 closed bug (fixed)

Opened May 26, 2015 09:47AM UTC

Closed March 30, 2016 05:28PM UTC

Last modified March 30, 2016 05:28PM UTC

Slider: Cannot reach max value with step of 0.01

Reported by: ggkovacs Owned by: scottgonzalez
Priority: minor Milestone: 1.12.0
Component: ui.slider Version: 1.11.4
Keywords: Cc:
Blocked by: Blocking:
Description

I've created a slider with values from 1.22 to 10.75 with a 0.01 step.

The lower bound works just fine, but the max value is never able to be reached via the slider.

Here's a jsfiddle example:

http://jsfiddle.net/f4ync23g/1/

The slider in the example should go to 10.75, however it stops at 10.74.

Attachments (0)
Change History (3)

Changed February 25, 2016 03:20PM UTC by mukulhase comment:1

Changed March 30, 2016 05:28PM UTC by scottgonzalez comment:2

owner: → scottgonzalez
resolution: → fixed
status: newclosed

In [changeset:"a1905e2c5ed6e61e6a7206e005de9dda4f7135d0" a1905e2c]:

#!CommitTicketReference repository="" revision="a1905e2c5ed6e61e6a7206e005de9dda4f7135d0"
Slider: Fixed max value miscalculation

Fixes #12852
Closes gh-1664

Changed March 30, 2016 05:28PM UTC by scottgonzalez comment:3

milestone: none1.12.0