animated-number-react icon indicating copy to clipboard operation
animated-number-react copied to clipboard

Starting from zero

Open mrgazanfarli opened this issue 4 years ago • 7 comments

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?

mrgazanfarli avatar Apr 26 '21 10:04 mrgazanfarli

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.

thenickcox avatar Jun 15 '21 21:06 thenickcox

any news regarding this issue?

lgiacomazzi avatar Jun 18 '21 20:06 lgiacomazzi

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

weagertron avatar Jun 28 '21 13:06 weagertron

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

Thanks! This worked for m!

abrman avatar Jul 06 '21 08:07 abrman

Any progress on this as bug fix for the latest version? Any ideas on the cause?

SeedyROM avatar Feb 16 '22 11:02 SeedyROM

~~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!

Jared0430 avatar May 24 '22 19:05 Jared0430

Yep version 0.1.1 fixed it for me too.

vikasSainiFacctum avatar Nov 28 '22 14:11 vikasSainiFacctum