Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#10719 closed bug (notabug)

ui.slider: Percentage value of handle in 1.11.2 is wrong

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

Description

Since upgrading to 1.11.2 I've noticed a problem since I maintain a plugin which adds pips to the slider... and the pips are now not aligning with the handles. I looked in to it and actually it seems the left: x% values changed since 1.11.2. I hope it is a bug as it was not mentioned in the changelog as a intended change.

http://jsfiddle.net/w11xjub9/1/ <-- jqueryui 1.11.1 http://jsfiddle.net/w11xjub9/ <-- jqueryui 1.11.2

in the JSFiddles I have echoed out the style attribute; you can see they are different and they get gradually more and more different down the slider.

also it is now impossible to get the "max" value with this setup, as demonstrated if you try to slide to the end.

Change History (3)

comment:1 in reply to:  description Changed 5 years ago by Scott González

Resolution: notabug
Status: newclosed

Replying to simeydotme:

also it is now impossible to get the "max" value with this setup, as demonstrated if you try to slide to the end.

That's because there's no valid step that will reach those values.

comment:2 Changed 5 years ago by simeydotme

Thanks for the repsonse and sorry for incorrectly labelling as a bug :( Its quite a big change for a minor release. :/

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

This likely tied to #10721.

Note: See TracTickets for help on using tickets.