You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is happening across all browsers but not necessarily consistently between them. A quick fix is to not initiate animateIn() immediately, using a setTimeout with 50ms seems to give the browser enough time to sort itself out and work around the issue.
This may be down to CPU performance. Will need to test on multiple machines.
This may have been fixed during optimisation of code. Elements were getting reset to their animate-out position multiple times which wasn't necessary. More testing required to confirm this.
In the following example, the .iphone element should rotate from -40deg to 0 when animating in (in reverse):
Due to the rotate property of .animate-out being different to .animate-in, the frame doesn't animate and instead just snaps to its new position.
By changing the rotate value of .animate-out to 0deg (the same as .animate-in), the animation works as expected.
The text was updated successfully, but these errors were encountered: