Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#2348 closed bug (worksforme)

Slider handles appear offset if minValue and stepping are used together

Reported by: chmac Owned by: eduardo
Priority: major Milestone:
Component: ui.core Version:
Keywords: Cc:
Blocked by: Blocking:


See the attached modification to the slider demo.

If minValue and maxValue are specified and are not equal distances from 0 (as in, are not -100 and +100 or -x and +x) and a steps or stepping value is specified, the slider handles appear in the wrong position.

For example, if minValue = -100 and maxValue = 0, the slider will appear 100% of the width of the slider to the right (in the sample, 200px to the right).

If you move the handles with key presses, they work as expected. This behaviour is only apparent when using the mouse to move the handles.

Attachments (1)

ui.slider.html (2.6 KB) - added by chmac 15 years ago.
Modified ui.slider.html demo to show bug

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by chmac

Attachment: ui.slider.html added

Modified ui.slider.html demo to show bug

comment:1 Changed 15 years ago by chmac

Correction, this bug appears even if the minValue and maxValue are equal distances from 0 (-100 and +100).

comment:2 Changed 15 years ago by paul

Owner: changed from paul to braeker

comment:3 Changed 15 years ago by joern

Resolution: worksforme
Status: newclosed

I assume this has been fixed in the meantime, I can't replicate it at all. Please reopen if the issue persists in the latest revision.

comment:4 Changed 15 years ago by chmac

Confirmed, the bug has been resolved in trunk. :)

Note: See TracTickets for help on using tickets.