Ticket #4292 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 5 years ago by Cloudream

  • Owner set to paul
  • Priority changed from critical to blocker
  • Status changed from new to assigned

comment:2 Changed 5 years ago by rdworth

  • Status changed from assigned to closed
  • Summary changed from Slider does not respect zero min to Slider: ui.value incorrect in slide event if handle at value 0
  • Resolution set to fixed
  • Milestone changed from 1.7.1 to 1.8

Fixed in r2226

comment:3 Changed 5 years ago by rdworth

Fixed more in r2227

comment:4 Changed 5 years ago by rdworth

  • Priority changed from blocker to critical

comment:5 Changed 5 years ago by rdworth

  • Milestone changed from 1.8 to 1.7.1

merged to 1.7.1 in r2321

Note: See TracTickets for help on using tickets.