Open mblais opened 5 years ago
use a single $.transit({opacity: 0.3, scale: 0.5}) for Simultaneous transitions
Right, but that only allows for a single duration and delay for all the parameters.
On Sat, Apr 27, 2019, 7:46 PM vinnielazio notifications@github.com wrote:
use a single $.transit({opacity: 0.3, scale: 0.5}) for Simultaneous transitions
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rstacruz/jquery.transit/issues/244#issuecomment-487336382, or mute the thread https://github.com/notifications/unsubscribe-auth/AACEZEM26QOUOQFTJ5KXO4DPSUFZDANCNFSM4GPR6SWA .
Simultaneous transitions on a single element don't seem to work if using multiple calls to
$.transit()
. For example: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()
.