NativeBase
NativeBase copied to clipboard
Slider thumb moves faster than cursor/thinger when using a step
Description
When using a step with the slider, the thumb will move faster than the user's finger/cursor on mobile platforrms. It works fine on web.
CodeSandbox/Snack link
https://snack.expo.dev/@zilhk/native-base-slider-step-issue
Steps to reproduce
- Go to provided snack link
- Run snack on mobile phone
- Place finger on thumb and slide to move it
=> the thumb will move faster than the finger
The slider is used like this:
<Slider w="3/4" maxW="300" minValue={0} maxValue={100} step={10}>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
NativeBase Version
3.4.25
Platform
- [X] Android
- [ ] CRA
- [X] Expo
- [X] iOS
- [ ] Next
Other Platform
No response
Additional Information
No response
Hi is there some progress or more information regarding this bug?
I have the same issue, any news ?
I don't think the developers intend to continue developing this package. See this issue: https://github.com/GeekyAnts/NativeBase/issues/4302
Thanks for your answer, but in my opinon gluestack is still a too early project to be used in production right now...
Hi @LaGregance currently on our project we are thinking to migrate to tamagui But in the meantime we used as our slider component from this library @miblanchard/react-native-slider, which works just fine. Hope it helps.
Hi @LaGregance currently on our project we are thinking to migrate to tamagui But in the meantime we used as our slider component from this library @miblanchard/react-native-slider, which works just fine. Hope it helps.
Thank you, in my case I manage to do what I want using @react-native-assets/slider