Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Use for polling #99

Open
faizaankhan opened this issue Nov 5, 2019 · 2 comments
Open

Use for polling #99

faizaankhan opened this issue Nov 5, 2019 · 2 comments

Comments

@faizaankhan
Copy link

faizaankhan commented Nov 5, 2019

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.

@mironov
Copy link
Owner

mironov commented Nov 17, 2019

@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?

@faizaankhan
Copy link
Author

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants