miblanchard / react-native-slider

A pure JavaScript <Slider> component for react-native and react-native-web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Touch area does not have same center as visible thumb

tlow92 opened this issue · comments

commented

Please check out example #8 from the snack https://snack.expo.dev/@miblanchard/@miblanchard-react-native-slider

How to reproduce:

Click on the center of the thumb
Expected: Thumb stays at position because center of thumb matches center touch area
Actual: The thumb moves to the right

Notes:

If thumbStyle width equals thumbTouchSize width, everything is fine. But if they differ this behaviour can be seen.

Screen.Recording.2022-11-21.at.14.20.34.mov
Screen.Recording.2022-11-21.at.14.24.08.mov
commented

any news?

same here