Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create Vertical Slider #196

Open
YajanaRao opened this issue Jun 18, 2020 · 10 comments
Open

Unable to create Vertical Slider #196

YajanaRao opened this issue Jun 18, 2020 · 10 comments
Labels
bug report Something isn't working help wanted Extra attention is needed

Comments

@YajanaRao
Copy link

Environment

Description

I am trying to create a vertical Slider. Based on #65 I got to know that transform can be used for this. Using transform I am not able to apply styles like height and width to slider.

Reproducible Demo

https://snack.expo.io/@yajana/slider

@YajanaRao YajanaRao added the bug report Something isn't working label Jun 18, 2020
@pankajgupta1
Copy link

pankajgupta1 commented Jun 25, 2020

In my case height, width applies, but transform not applies automatically. when in the code i add style transform, then that applies. But when I reload the app, the transform not applies.
On comment/uncomment the code, and directly viewing the slider in simulator then transform works, otherwise on reload of app transform is not applied

@wojteg1337 wojteg1337 added the help wanted Extra attention is needed label Jul 14, 2020
@rectified95
Copy link
Contributor

In case you're interested, in about a week I'll push a Windows implementation of this module, which will expose a 'vertical' prop to control this ;)

@ferbeab
Copy link

ferbeab commented Jul 14, 2020

And is there any plan to implement it for Linux/Unix OS??

@rectified95
Copy link
Contributor

rectified95 commented Jul 14, 2020

As far as I know, Linux is on not on the cards for the time being, though there are people requesting it, so who knows.
However, there is parallel work happening for the macOS implementation by Microsoft:
https://microsoft.github.io/react-native-windows/

@seanconrad1
Copy link

Tacking on to say that we need a vertical prop for all platforms. Thanks!

@BartoszKlonowski
Copy link
Member

BartoszKlonowski commented Jun 29, 2021

As I can see on the provided example (thank you, @YajanaRao) the vertical slider is only inverted visually. Width and height still applies but with inverted effects, while sliding is still possible but also on the horizontal axis:
SliderVerticalIssue
(notice the width change on the beginning from 30 to 300 <- it changes the height)

@Ha0ran2001
Copy link

As I can see on the provided example (thank you, @YajanaRao) the vertical slider is only inverted visually. Width and height still applies but with inverted effects, while sliding is still possible but also on the horizontal axis: SliderVerticalIssue SliderVerticalIssue (notice the width change on the beginning from 30 to 300 <- it changes the height)

Why vertical prop is not working?

@plonsik
Copy link

plonsik commented Jun 10, 2023

are there any updates for this issue?

@rectified95
Copy link
Contributor

@chiaramooney does the team still maintain these controls?

@chiaramooney
Copy link
Contributor

Unsure what callstack's status is, but sounds like this is an Android issue, so won't be tackled by the Windows team.

@callstack callstack deleted a comment from Sharcoux Jul 11, 2023
@github-project-automation github-project-automation bot moved this to To be analyzed in Slider-Board Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something isn't working help wanted Extra attention is needed
Projects
Status: To be analyzed
Development

No branches or pull requests

10 participants