Slider vertical orientation not working
See original GitHub issueExplain what you did (Required)
When setting the orientation prop in the Slider component to ‘vertical’ the Slider becomes unusable. (In mobile and web)
<Slider
value={val}
minimumValue={0}
allowTouchTrack={true}
maximumValue={100}
step={10}
orientation='vertical'
onValueChange={(value: number) => handleChange(value)}
minimumTrackTintColor={colors.menu}
maximumTrackTintColor={colors.white}
thumbStyle={{ height: 10, width: 10, backgroundColor: 'green' }}
/>
Expected behavior (Required)
Expected for the slider to be displayed in a vertical fashion
Describe the bug (Required)
This is how the slider looks when I set the orientation to ‘vertical’:
This is how it shoud look like
To Reproduce (Required)
To reproduce the bug set ‘vertical’ in the orientation prop in the slider
Your Environment (Required):
software | version |
---|---|
react-native-elements | 3.4.1 |
react-native | 0.64.0 |
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:11 (8 by maintainers)
Top Results From Across the Web
Vertical Orientation does not work! · Issue #108 - GitHub
Vertical orientation does not work. I still have to transform it be 90 degrees and when I do, the slider does animate properly....
Read more >jQuery nouislider Vertical Orientation Not Working
The slider is initialized properly; your js isn't at fault. Due to the nature of the CSS box model, elements don't assume a...
Read more >Problem with vertical Range Slider with oval thumb control
The problem is that when the Orientation="SliderOrientation. Vertical" the slider does not operate at all. When Orientation="SliderOrientation.
Read more >341071 - Impossible to style vertical input type=range. - Monorail
Just ran into this very problem. In order to make the slider vertical you have to add "-webkit-appearance: slider-vertical" but in order to ......
Read more >vertical slider constraint | Apple Developer Forums
Hi all, i am using swift3 in xcode. I have made an application with 10 sliders which i rotate to vertical using:.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @khushal87 and @arpitBhalla for working the solution here 😃
Thanks @arpitBhalla 😃