You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to show animation of horizontal progress bar any time the user lands on a screen. Every time user opens screen I first reset progress state to 0 and then set it to required number to show it's moving from 0 to say 50%. The problem is that it shows animation twice when I first reset it to 0 and then when setting back to 50%. Is there a way to disable the animation in the first case when I reset it to 0?
The text was updated successfully, but these errors were encountered:
I was going to suggest changing settings in animationConfig, but then I realized you can't access the progress object to get the next value the bar will be added to without componentWillReceive, so I've added the animateReset prop. Changes present in pull request #121. Hoping @oblador sees this!
I would like to show animation of horizontal progress bar any time the user lands on a screen. Every time user opens screen I first reset progress state to 0 and then set it to required number to show it's moving from 0 to say 50%. The problem is that it shows animation twice when I first reset it to 0 and then when setting back to 50%. Is there a way to disable the animation in the first case when I reset it to 0?
The text was updated successfully, but these errors were encountered: