paper-slider icon indicating copy to clipboard operation
paper-slider copied to clipboard

Feature request: Vertical orientation

Open nikkimk opened this issue 6 years ago • 2 comments

It would be great if there was a vertical orientation option. I'd to be able to have change the orientation where sliding upwards increases the value. Right now, I have tried to use CSS rotation as a workaround, but sliding doesn't change to vertical with the slider.

My use case is a volume control in a video player component. In mobile, there isn't enough space on the control bar for a horizontal orientation. I could also see this orientation being useful for controls that we normally encounter vertically in the real world.

nikkimk avatar Apr 06 '18 12:04 nikkimk

Hi, I have the same requirement. Tried making transform styles, however, the slider knob started behaving abnormally. had to skip and comment

// getElement().getStyle().set("transform", "rotate(90deg)"); // getElement().getStyle().set("transform-origin", "75px 75px");

somendu avatar Sep 24 '19 13:09 somendu

image

somendu avatar Sep 24 '19 13:09 somendu