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

Begin callback in tween sometimes not called #215

Closed
siassaj opened this issue Aug 1, 2017 · 3 comments
Closed

Begin callback in tween sometimes not called #215

siassaj opened this issue Aug 1, 2017 · 3 comments
Assignees
Milestone

Comments

@siassaj
Copy link

siassaj commented Aug 1, 2017

animejs 2.0.2

https://gist.github.com/siassaj/b67808452361ddc307b5262a3f93904b

This happens only when my browser is busy during page load, but after all of my js code has been loaded entirely and the button on the page that triggers it has been bound.

Aside from that, it behaves completely normally... very odd that the first tween's complete fires and the last one's complete fires but it's begin doesn't.

@siassaj
Copy link
Author

siassaj commented Aug 1, 2017

I don't get any weird behaviour when I move the functions i want called on tween 2 begin to tween 1 complete.

@juliangarnier juliangarnier self-assigned this Sep 10, 2017
@juliangarnier juliangarnier added this to the 2.1.0 milestone Sep 10, 2017
@juliangarnier
Copy link
Owner

The Timeline callbacks code has been rewritten and improved, it should be fixed in 2.1.

@siassaj
Copy link
Author

siassaj commented Sep 18, 2017

@juliangarnier cheers. I'll let you know if it occurs after migrating over.

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

No branches or pull requests

2 participants