alantoa / react-native-awesome-slider

🚀 An anwesome <Slider/> that supports various features haptic, lottie, animation, ballon, etc.
MIT License
276 stars 30 forks source link

progress value NaN crash #76

Open Bayramito opened 3 months ago

Bayramito commented 3 months ago
Ekran Resmi 2024-07-10 11 32 50
CalvinNFT commented 2 months ago

This issue most likely is caused by the type of progress input value. Note the value should not be a number directly:

progress={20}

// instead use

const progressValue = useSharedValue(20);
progress={progressValue}

If your issue is not resolved by this, please produce information to replicate the issue.

alantoa commented 1 week ago

yeah, it's best to add your example code so I can take a look.