Skip to main content

Search and Top Navigation

#6643 closed bug (fixed)

Opened November 09, 2010 05:22PM UTC

Closed December 06, 2010 03:06PM UTC

Last modified December 08, 2010 06:37PM UTC

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/

Attachments (0)
Change History (4)

Changed December 03, 2010 08:57PM UTC by poplix comment:1

Changed December 03, 2010 09:31PM UTC by scottgonzalez comment:2

milestone: TBD1.9
status: newopen

Replying to [comment:1 poplix]:

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

That's an invalid fix.

Changed December 06, 2010 03:06PM UTC by poplix comment:3

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

Changed December 08, 2010 06:37PM UTC by scottgonzalez comment:4

milestone: 1.91.8.7