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

Want to Start the Slider Button from Middle top Instead of Bottom #14

Open
kazisalman opened this issue Mar 17, 2021 · 3 comments
Open

Comments

@kazisalman
Copy link

Want to Start the Slider Button from Middle top Instead of Bottom .. i did the tansform 180 degree but then the slider is not working ..Please look into the issue.... thanks a lot

@thiagovmu
Copy link

if you are using functional component where your slider component resides, set the value you want (50% of the total in your case) at the useState variable definition where the value comes for example, from the props. Ex:

const [value, setValue] = useState(route.params.device.lastPercentage);

I needed the same thing as you and it worked for me!

@kutaisan
Copy link

I did it!
Screenshot 2021-08-16 18 07 54

@shubhkhanna
Copy link

I did it! Screenshot 2021-08-16 18 07 54

Thanks @kutaisan it works fine!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants