react-redux-loading-bar icon indicating copy to clipboard operation
react-redux-loading-bar copied to clipboard

Use for polling

Open faizaankhan opened this issue 4 years ago • 2 comments

I am using this awesome lib to show a loading bar during short polling. The problem I have is the bar can't be slowed down, it just runs to the end at 95% and then waits for the hide method to be invoked. Also, there is no end animation, which could ensure that the bar moved 100% to the users.

faizaankhan avatar Nov 05 '19 10:11 faizaankhan

@faizaankhan Hi there. Thank you for your kind words. You can increase updateTime or decrease progressIncrease to slow down the progress simulation. Please see how to pass them at https://github.com/mironov/react-redux-loading-bar#configure-progress-simulation

Also, there is no end animation, which could ensure that the bar moved 100% to the users.

I can see the ending animation in the demo: https://mironov.github.io/react-redux-loading-bar/ Could you confirm that you don't see it in the demo?

mironov avatar Nov 17 '19 14:11 mironov

@mironov Thanks for reaching back, ending animation is not working for me. No problem in the demo. The thing is I explicitly call the stop function. On that case, the ending animations don't seem to work.

faizaankhan avatar Nov 18 '19 07:11 faizaankhan