react-native-circular-progress-indicator
react-native-circular-progress-indicator copied to clipboard
Counting is weird
https://raw.githubusercontent.com/nithinpp69/react-native-circular-progress-indicator/main/examples/demo9.gif
Counting is weird.
The component is doing the math as follows:
0,1,2,3,...,8,9,1,11,...,19,2,21
And it should be: 0,1,2,3,...,8,9,10,11,...,19,20,21
So that the animation is fluid
+1 on iOS 0.78
same
same error
same error, did you find any solution?
Hi there! My workaround for this issue is to pass progressFormatter function like this:
progressFormatter={(value: number) => {
'worklet'
const val = `${Math.round(value)}% `
return val
}}
Now component shows correct value
Thanks @lactivka ! You're a lifesaver.