hilongjw/vue-progressbar

The progressbar animation doesn't stop.

Closed this issue · 4 comments

After using the method this.$Progressbar.finish(), the animation doesn't stop and it's my problem when I use your library.

You can see the image for more details: http://d.pr/i/qivNC.

Thank you for working on porting the progressbar to use with Vue.

Same problem for me too :/

Same issue here.

HKskn commented

@thulioph @tsalpekar21 @dneukirchen you should use - this.$Progress.finish()

In $Progress.start(), the state.timer is being overwritten with a new call to setInterval.

This prevents the old setInterval call from being cleared, causing it to update forever.

I've submitted a pull request that fixes this issue at #50