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

tweenCSS3 and morphCSS3 properties do not work simultaneously on same element #5

Open
hunyadi opened this issue Dec 17, 2015 · 0 comments

Comments

@hunyadi
Copy link

hunyadi commented Dec 17, 2015

Whenever both a tweenCSS3 and morphCSS3 property is applied to an element, and both a tween and a morph sequence is started simultaneously (one immediately after the other), the one started later with the method start() will take precedence and the effect of the other will be completely ignored. For example, when there is a tween effect changing opacity from 0 to 1, and a morph effect manipulating top, left, height and width properties, and the tween effect is started later, the top, left, height and width properties will not be animated at all. As far as I could see, this is because both rely on CSS transition-property, and there is a race condition between the two animation sequences that run. This phenomenon does not arise with standard MooTools properties tween and morph, which happily carries out both animations.

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

1 participant