Closed WhiteNightAWA closed 2 years ago
I re published module to fix this bug
could you check it with lateset version 0.12.2
again?
This issue (or a version of it) is still happening in 0.12.2.
If the component that the numbers are in, reloads due to an unrelated state change, the numbers re-roll.
This issue (or a version of it) is still happening in 0.12.2.
If the component that the numbers are in, reloads due to an unrelated state change, the numbers re-roll.
ahha. colud you show me exmaple code? I think the config inline fuction can cause re render
@heyman333
Sorry for answering you so late, but this issue is still happening in ^0.12.2
.
I'm using the same code at the top and that number still roll. 😢
@heyman333 but I think I fixed it... see #31
As the title, the
<AnimatedNumbers />
roll again when I use thethis.setState()
function even though they are not in the same components. (theanimateToNumber
value dons't change).For Example,
In this components, If I click Button 1: it roll and change number. If I click Button 2: it roll too but donut change number. Is there any solution?