Closed StevieCode closed 3 years ago
Putting expression in the progress prop causes the issue. Solved by creating a function that returns the expression value.
this just started giving me problems not sure what to do I did it two different ways
<Progress.Bar
// progress={(currentStep && currentStep * 10) / 100} <=-=currentStep is a state
progress={step()}
width={350}
height={15}
borderRadius={200}
color="#F59E0B"
borderColor="#E5E5E5"
unfilledColor="#FFFFFF"
/>
step() is just a function that return the state but I am still getting the same result
has anyone resolved this issue?
@Aloynz the value put to progress props is NaN causes the issue, just forcing it to 0 if NaN
Does anyone have the same issue?