Bug Tracker

Modify

Ticket #2862 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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

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

comment:1 Changed 5 years ago by paul

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.