Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#10105 closed bug (fixed)

Slider: Changing orientation causes handle to shift off the track

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

Description

I have noticed some strange behavior on the slider control. Whenever you switch the orientation from horizontal to vertical, there seems to be a horizontal offset between the slider bar and the handle bar itself.

The amount offset varies and grows exponentially, meaning that whenever the slider is at a higher value, the offset will be larger.

I have created a simple pen to illustrate the bug here: Codepen

Change History (3)

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

Status: newopen
Summary: setting orientation causes handle to go out of boundsSlider: Changing orientation causes handle to shift off the track

comment:2 Changed 9 years ago by Scott González

Resolution: fixed
Status: openclosed

Slider: Reset positioning when orientation changes

Fixes #10105 Closes gh-1268

Changeset: 15baf024c3352f0c593a49d70a3a87e4bc13c36b

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

Milestone: none1.11.1
Note: See TracTickets for help on using tickets.