hilongjw / vue-progressbar

A lightweight progress bar for vue
http://hilongjw.github.io/vue-progressbar
MIT License
1.46k stars 162 forks source link

Disable auto-finish #25

Open troxler opened 7 years ago

troxler commented 7 years ago

This plugin seems to automatically finish the progress after a certain amount of time, regardless of whether finish() was actually called or not. Other plugins, like angular-loading-bar are different int that respect. They start the progress and get slower the closer they get to the end. Also, they never complete if not explicitly finished. Can this be implemented in vue-progressbar as well?

Or am I overlooking something and this is already possible?

hilongjw commented 7 years ago

@troxler try a larger time parameter with start

this.$Progress.start(1000*60*60)
troxler commented 7 years ago

That just slows down the progress but still completes without calling finish(). This is especially not ideal when your loading times in general are short but sometimes very long.

troxler commented 7 years ago

For the record: I switched to https://github.com/rstacruz/nprogress which has this feature and works flawlessly in my Vue.js project.

linhe0x0 commented 7 years ago

I have the same confusion.

alexsandro-xpt commented 7 years ago

Same problem here, how to fix it to work like https://chieffancypants.github.io/angular-loading-bar/ as @troxler tell us?