Skip to main content

Search and Top Navigation

#12205 closed bug (fixed)

Opened April 21, 2015 03:57PM UTC

Closed April 22, 2015 04:56PM UTC

Last modified April 22, 2015 04:56PM UTC

Slider: Changing orientation breaks range

Reported by: atomiomi Owned by:
Priority: minor Milestone: 1.12.0
Component: ui.slider Version: 1.11.3
Keywords: Cc:
Blocked by: Blocking:
Description

For example let's take max range slider. If orientation is changed from horizontal to vertical then the range will fill horizontal space proportionally to value of handle before changing. I reproduced this bug with 1.10 and 1.11 version of jQuery UI in Chrome and Firefox.

Test link: http://jsfiddle.net/f52g9u47/4/. To reproduce this bug follow this steps:

1. Change orientation to vertical. Everything is ok. Change it back to horizontal.

1. Drag the handle to the middle of the track.

2. Set orientation to vertical

3. Now range doesn't fill all space. If you change orientation back to horizontal, range will also fill only half vertical space.

It works in min and simple range too.

PR: https://github.com/jquery/jquery-ui/pull/1533

Attachments (0)
Change History (3)

Changed April 21, 2015 06:31PM UTC by scottgonzalez comment:1

status: newopen
summary: Changing orientation breaks rangeSlider: Changing orientation breaks range

Changed April 22, 2015 04:56PM UTC by Ablay Keldibek comment:2

resolution: → fixed
status: openclosed

Slider: Range fills all space after changing orientation

Resets width/height of range

Fixes #12205

Closes gh-1533

Changeset: 897a238332110c5c1a58ee9a0db5bf4e54fc3059

Changed April 22, 2015 04:56PM UTC by scottgonzalez comment:3

milestone: none1.12.0