#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
Status: | new → open |
---|---|
Summary: | setting orientation causes handle to go out of bounds → Slider: Changing orientation causes handle to shift off the track |
comment:2 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
Slider: Reset positioning when orientation changes
Fixes #10105 Closes gh-1268
Changeset: 15baf024c3352f0c593a49d70a3a87e4bc13c36b
comment:3 Changed 9 years ago by
Milestone: | none → 1.11.1 |
---|
Note: See
TracTickets for help on using
tickets.
PR: https://github.com/jquery/jquery-ui/pull/1268