Opened 22 months ago

Closed 12 months ago

Last modified 12 months ago

#12852 closed bug (fixed)

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:


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:

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

Change History (3)

comment:1 Changed 13 months ago by mukulhase

comment:2 Changed 12 months ago by scottgonzalez

  • Owner set to scottgonzalez
  • Resolution set to fixed
  • Status changed from new to closed

In a1905e2c:

Slider: Fixed max value miscalculation

Fixes #12852
Closes gh-1664

comment:3 Changed 12 months ago by scottgonzalez

  • Milestone changed from none to 1.12.0
Note: See TracTickets for help on using tickets.