Opened 3 years ago

Closed 3 years ago

Last modified 3 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 3 years ago by scottgonzalez

  • Status changed from new to open
  • Summary changed from setting orientation causes handle to go out of bounds to Slider: Changing orientation causes handle to shift off the track

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

  • Resolution set to fixed
  • Status changed from open to closed

Slider: Reset positioning when orientation changes

Fixes #10105 Closes gh-1268

Changeset: 15baf024c3352f0c593a49d70a3a87e4bc13c36b

comment:3 Changed 3 years ago by scottgonzalez

  • Milestone changed from none to 1.11.1
Note: See TracTickets for help on using tickets.