Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#10078 closed bug (fixed)

Slider: Slide callback value should be restricted to valid values

Reported by: ritergrin Owned by:
Priority: minor Milestone: 1.11.2
Component: ui.slider Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:

Description

http://jsfiddle.net/7TEp3/ Put slider on the end and a little more right. Cur value will be more then "max".

That is happens when "min" value in settings less than "step", but more then zero.

Change History (4)

comment:1 Changed 5 years ago by Scott González

Status: newopen
Summary: Slider max value bugSlider: Slide callback value should be restricted to valid values

Well, the slider never actually gets a value greater than the max, but the slide event says that the user is trying to slide to a value greater than the max. That shouldn't happen, but you also shouldn't have a max that isn't a valid value.

comment:2 Changed 5 years ago by atomiomi

Tried to reproduce the bug with the current version of jQuery, now the maximum value does not exceed 460. Everything alright

Last edited 5 years ago by atomiomi (previous) (diff)

comment:3 Changed 5 years ago by Scott González

Milestone: none1.11.2
Resolution: fixed
Status: openclosed

comment:4 Changed 5 years ago by Ablay Keldibek

Slider: Verify value constraint with a max that is a step mismatch

Ref #10078 Closes gh-1485

Changeset: 21831f5036bd695cc2734ec3f44e97549d2f7660

Note: See TracTickets for help on using tickets.