alantoa / react-native-awesome-slider

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

On initial render, progress shows incorrect value when `step` is set #46

Closed yayanartha closed 11 months ago

yayanartha commented 11 months ago

When running the example app, I noticed the slider progresses on the initial render are incorrect when the <Slider> has step={10} or step={6}. If I comment out those steps, they will show correctly on the initial render.

yeesiang95 commented 11 months ago

I also facing this issue, initial value is incorrect when set step value

yayanartha commented 11 months ago

as I am still using reanimated v2, downgrading to 2.3.0 solves the issue for me

yeesiang95 commented 11 months ago

as I am still using reanimated v2, downgrading to 2.3.0 solves the issue for me

Ok, will try to downgrade. Thanks!

alantoa commented 11 months ago

Thanks for all of your feedback! I have just merged @computerjazz's PR and did a tiny improment, and i have also released a new version here!

Nero15739 commented 9 months ago

This seems to still be an issue when using RN Reanimated V3.5.4. Was this fixed or should I be downgrading to V2? @alantoa