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

No simultaneous transitions on an element? #244

Open
mblais opened this issue Jan 12, 2019 · 2 comments
Open

No simultaneous transitions on an element? #244

mblais opened this issue Jan 12, 2019 · 2 comments

Comments

@mblais
Copy link

mblais commented Jan 12, 2019

Simultaneous transitions on a single element don't seem to work if using multiple calls to $.transit().
For example:

$w.transit( {opacity: 0.3, queue: false, duration:1500} );
$w.transit( {scale:   0.5, queue: false, duration:1200} );

Only scale is animated; opacity jumps immediately from its current value to 0.3.

Thus it seems impossible with jquery.transit to animate two different css properties of an object at the same time, if the transitions have different durations or delays (or if you have other reasons to want to separate the animations into distinct calls to $.transit().

@ghost
Copy link

ghost commented Apr 28, 2019

use a single $.transit({opacity: 0.3, scale: 0.5}) for Simultaneous transitions

@mblais
Copy link
Author

mblais commented Apr 28, 2019 via email

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