Open EliasDerHai opened 8 months ago
solution?
https://github.com/der-Lehmann/number-flip-animation
Not perfect (number flip over 0 is also not the best animation) but it's way better compared to this. Honestly this repos' source code is just an utter mess
@EliasDerHai For solving this bug, may i ask you to provide a minimal repreducible example?
Developer must know the maximum number of digits before executing the animation. And they should set it in new Flip
at first. Animations that exceed the pre-set maximum number of digits can cause an error.
set it in
new Flip
at first
After fiddling around way too long to import this into my solidjs app I notice that this throws when incrementing to a new digit (eg. 9->10, 99->100 etc.):