withDecay() never starts if initial value is 0 #6680
Labels
Platform: Android
This issue is specific to Android
Platform: iOS
This issue is specific to iOS
Repro provided
A reproduction with a snippet of code, snack or repo is provided
Description
The
withDecay
animation never starts if the initial value is0
.withdecay.mov
Steps to reproduce
See above, pretty easy repro.
Seems to affect both iOS and Android.
Testing on Paper, not sure about Fabric.
Snack or a link to a repository
https://github.com/gaearon/reanimated-repro-weird/commits/withdecay-bug (note the branch!)
Reanimated version
3.16.1
React Native version
0.76.1
Platforms
Android, iOS
JavaScript runtime
Hermes
Workflow
React Native
Architecture
Paper (Old Architecture)
Build type
Debug app & dev bundle
Device
Android emulator
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: