Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uncaught exception: Object when using animate() during animation #257

Open
psidex opened this issue Jan 16, 2020 · 6 comments
Open

uncaught exception: Object when using animate() during animation #257

psidex opened this issue Jan 16, 2020 · 6 comments

Comments

@psidex
Copy link

psidex commented Jan 16, 2020

Browser: Firefox 72.0.1 (64-bit)

Use bar.animate() when a previous animate() call is still being animated, and this error will occur:

uncaught exception: Object

@spburden
Copy link

No solution yet?

@chrisranderson
Copy link

chrisranderson commented Mar 12, 2020

You can pass a callback to animate that is called when it is finished animating, and set a boolean in that callback that indicates that you're ready for the next call to animate. Or you can decrease the duration of the animation.

@mtorromeo
Copy link

Possible duplicate of #255

@dmarman
Copy link

dmarman commented Mar 21, 2020

Thanks for the fix. Here the command for installing from the commit:

npm install --save "git://github.com/Zellerich/progressbar.js.git#0978bd7a45c1e1fcc8cf9b0890caddb5362941f6

@kimmobrunfeldt
Copy link
Owner

kimmobrunfeldt commented May 11, 2020

Can you test the latest progressbar.js from latest master?

I think this should work similarly as @dmarman commented before:

npm install --save "git://github.com/kimmobrunfeldt/progressbar.js.git#master

@Kwaadpepper
Copy link

Kwaadpepper commented Jul 29, 2020

With master i get this Uncaught (in promise) Object { error: "stop() executed while tween isPlaying.", currentState: {…}, attachment: undefined }

Issue solved, i mean at least i got no error message and is working for my usage. (using master)

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

No branches or pull requests

7 participants