Skip to main content

Bug Tracker

Side navigation

#2348 closed bug (worksforme)

Opened February 14, 2008 03:54PM UTC

Closed March 18, 2008 09:01AM UTC

Last modified March 19, 2008 04:54PM UTC

Slider handles appear offset if minValue and stepping are used together

Reported by: chmac Owned by: braeker
Priority: major Milestone:
Component: ui Version:
Keywords: Cc:
Blocked by: Blocking:
Description

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 February 14, 2008 03:54PM UTC.

    Modified ui.slider.html demo to show bug

Change History (4)

Changed February 14, 2008 03:57PM UTC by chmac comment:1

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

Changed February 21, 2008 02:23PM UTC by paul comment:2

owner: paulbraeker

Changed March 18, 2008 09:01AM UTC by joern comment:3

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.

Changed March 19, 2008 04:54PM UTC by chmac comment:4

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