Ticket #6643 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

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

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

comment:1 follow-up: ↓ 2 Changed 3 years ago by poplix

comment:2 in reply to: ↑ 1 Changed 3 years ago by scott.gonzalez

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

Replying to poplix:

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

That's an invalid fix.

comment:3 Changed 3 years ago by poplix

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

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 3 years ago by scott.gonzalez

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