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

Slider thumb moves faster than cursor/thinger when using a step #5653

Open
3 of 5 tasks
obasille opened this issue Jan 27, 2023 · 6 comments
Open
3 of 5 tasks

Slider thumb moves faster than cursor/thinger when using a step #5653

obasille opened this issue Jan 27, 2023 · 6 comments

Comments

@obasille
Copy link

obasille commented Jan 27, 2023

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

  1. Go to provided snack link
  2. Run snack on mobile phone
  3. 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

  • Android
  • CRA
  • Expo
  • iOS
  • Next

Other Platform

No response

Additional Information

No response

@obasille obasille changed the title Slider thumb doesn't stay under cursor/thinger when passing a step Slider thumb moves faster than cursor/thinger when passing a step Jan 27, 2023
@obasille obasille changed the title Slider thumb moves faster than cursor/thinger when passing a step Slider thumb moves faster than cursor/thinger when using a step Jan 27, 2023
@Kismar
Copy link

Kismar commented Jul 10, 2023

Hi is there some progress or more information regarding this bug?

@LaGregance
Copy link

I have the same issue, any news ?

@obasille
Copy link
Author

obasille commented Oct 16, 2023

I don't think the developers intend to continue developing this package.
See this issue: #4302

@LaGregance
Copy link

Thanks for your answer, but in my opinon gluestack is still a too early project to be used in production right now...

@Kismar
Copy link

Kismar commented Oct 17, 2023

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.

@LaGregance
Copy link

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

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

No branches or pull requests

3 participants