Bug Tracker

Opened 12 years ago

Closed 11 years ago

#2862 closed bug (fixed)

ui-slider: Right handle on a range slider gets messed up

Reported by: making718 Owned by: paul
Priority: major Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: slider Cc:
Blocked by: Blocking:

Description

On some browsers like Firefox and Safari, with a range slider with the right handle selected if you click to the left of the left handle the right handle will not move. After that the left handle will be free to move anywhere even past the right handle. I tracked down the error to the translateRange method. The axis parameter is missing on the second call to translateValue. So this line:

value = this.translateValue(this.value(0,axis) + this.oneStep(axis));

Should read

value = this.translateValue(this.value(0,axis) + this.oneStep(axis), axis);

Change History (1)

comment:1 Changed 11 years ago by paul

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.