Open tcf01 opened 1 year ago
My issue is near this. When I swipe the thumb, it doesn't follow my gesture, like it's updated when swipe completing
Hey, @tcf01, I cannot reproduce this example for my project. Can you create an example project on Expo Snack?
Same here, progress getting increased but the slider position never gets changed.
I had this same issue when using steps so it might be related to that. When I stopped using steps, it works fine.
I'm also having the same issue. Will try to diagnose what the issue is.
@jacobmolby Adding the following reaction to set the thumbIndex correctly in slide.tsx when the value is changed from the host component fixes the issue
useAnimatedReaction(() => { if (snappingEnabled && !isScrubbing?.value) { const index = Math.round( ((progress.value - minimumValue.value) / (maximumValue.value - minimumValue.value)) * step ); return clamp(index, 0, step); } }, d => { if (typeof d === 'number') thumbIndex.value = d; }, [progress]);
I had this same issue when using steps so it might be related to that. When I stopped using steps, it works fine.
Just had this issue and this solved it too
I'm also facing the same issue when trying to manually update the thumb progress value.
Can also verify that removing the step
prop does solve this bug.
Is there any estimation regarding this?
Hi guys, I am using
react-native-awesome-slider
2.4.0 version but I encounter some strange things. Here is my code & a reference video. What should I modify in the code? Thank u very much!https://github.com/alantoa/react-native-awesome-slider/assets/40299440/2ba0048f-170c-4da9-9e1d-67d947b2ae1f