animated-number-react
animated-number-react copied to clipboard
Starting from zero
Hi! Firstly, I want to thank you for such a great package. In my case, I animate numbers which come from Redux. Whenever one of the numbers is updated, the value starts counting up (or down) from zero. Could you please explain what the issue, or fix it?
I'm also having this issue, not using Redux (just plain component state). I'm happy to submit a PR, but I don't fully understand the issue, because the demos don't do that.
any news regarding this issue?
It seems to be an issue introduced in 0.1.2. I worked around this issue by downgrading to 0.1.1 in my package.json and now it doesn't go back down to 0 each time
It seems to be an issue introduced in
0.1.2. I worked around this issue by downgrading to0.1.1in mypackage.jsonand now it doesn't go back down to 0 each time
Thanks! This worked for m!
Any progress on this as bug fix for the latest version? Any ideas on the cause?
~~I was able fix this, even on the latest version, by providing a key prop that doesn't change with the value~~
Oops, nope I was still on 0.1.1, sorry!
Yep version 0.1.1 fixed it for me too.