Opened 6 years ago

Closed 5 years ago

Last modified 5 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:2 in reply to: ↑ 1 Changed 5 years ago by scottgonzalez

  • Milestone changed from TBD to 1.9
  • Status changed from new to open

Replying to poplix:

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

That's an invalid fix.

comment:3 Changed 5 years ago by poplix

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

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 5 years ago by scottgonzalez

  • Milestone changed from 1.9 to 1.8.7
Note: See TracTickets for help on using tickets.