Open screendriver opened 7 years ago
I traced the code, I suspect there is somehow now a bug at
https://github.com/ameyms/react-animated-number/blob/master/src/AnimatedNumber.jsx#L90
props.value
is no longer the value when endTween()
was called...
same issue here
1+
For example I want to display an animated number with a static number:
This does not work (it does not animate). It only animates when I set an initial value of
0
and change this value afterwards with a state change.Is this behaviour as expected?