Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6643 closed bug (fixed)

using range and step options makes jquery change min and max

Reported by: poplix Owned by:
Priority: minor Milestone: 1.8.7
Component: ui.slider Version: 1.8.6
Keywords: Cc:
Blocked by: Blocking:

Description

if i set {range: true, min: 5845,max: 12345,step:500} (note [12345-5845] % 500 =0] the slider is initialized with 12500 as max and 6000 as min

demo: http://jsfiddle.net/FRjVN/6/

Change History (4)

comment:1 Changed 7 years ago by poplix

comment:2 in reply to:  1 Changed 7 years ago by Scott González

Milestone: TBD1.9
Status: newopen

Replying to poplix:

issue fixed https://github.com/jquery/jquery-ui/pull/62

That's an invalid fix.

comment:3 Changed 7 years ago by poplix

Resolution: fixed
Status: openclosed

Slider: Changed _trimAlignValue function to return the correct inclusive value between min and max. Fixes #6643 - using range and step options makes jquery change min and max.

Changeset: 0d0969ca2b6ad5c8937313cc3868d8a21335d748

comment:4 Changed 7 years ago by Scott González

Milestone: 1.91.8.7
Note: See TracTickets for help on using tickets.