Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#4292 closed bug (fixed)

Slider: ui.value incorrect in slide event if handle at value 0

Reported by: gglockner Owned by: paul
Priority: critical Milestone: 1.7.1
Component: ui.slider Version: 1.7
Keywords: Cc:
Blocked by: Blocking:

Description

If you set the minimum value to zero, the slider does not go down to zero. This is true regardless of whether you set the minimum when the slider is initialized, whether you set it later as an option, or whether you simply rely on the default value of min = 0. You can see this problem in the following demos on the jqueryui.com website:

http://jqueryui.com/demos/slider/#steps

http://jqueryui.com/demos/slider/#slider-vertical

This was not present in 1.6rc6.

For now, I am working around this bug by adding 1 to all slider values, but this could cause wrong results for anyone who upgrades to 1.7.

Change History (5)

comment:1 Changed 8 years ago by Cloudream

Owner: set to paul
Priority: criticalblocker
Status: newassigned

comment:2 Changed 8 years ago by rdworth

Milestone: 1.7.11.8
Resolution: fixed
Status: assignedclosed
Summary: Slider does not respect zero minSlider: ui.value incorrect in slide event if handle at value 0

Fixed in r2226

comment:3 Changed 8 years ago by rdworth

Fixed more in r2227

comment:4 Changed 8 years ago by rdworth

Priority: blockercritical

comment:5 Changed 8 years ago by rdworth

Milestone: 1.81.7.1

merged to 1.7.1 in r2321

Note: See TracTickets for help on using tickets.