Jump to content
Search Community

gsap.from + scrolltrigger -> sporadically issues with version 3.9.1

FDCH test
Moderator Tag

Recommended Posts

Hello everybody, 
i got a little problem with a simple .from() tween, when using the latest gsap 3.9.1. 
It just wont fire the animation 9/10 times, but no problem with .to()
Again when using the beta 3.10 no problems with .from()
Got a CodePen attached with the 3.9.1 and one working CodePen with the gsap beta version.
is there any fix or will i need to use the beta version? 
thank you very much in advance!


See the Pen KKyWxpv by f-bio-da-costa-horta (@f-bio-da-costa-horta) on CodePen

See the Pen ZEaejpB by fdch (@fdch) on CodePen

Link to comment
Share on other sites

Welcome to the forums @FDCH

 

There was a regression in version 3.9.1 with .from() tweens. It was already resolved for the upcoming release, so options for you here would be to either wait for that next release, revert back to version 3.8.0 in the meantime, or add lazy: falseto your .from() tweens, which should help resolve things for the current version 3.9.1. I hope it'll help!  

 

 

  • Like 1
Link to comment
Share on other sites

Hello Akapowl, 
nice! thank you very much for your quick reply and the help  - lazy:false did the trick.
I didn't know anything about the regression and couldn't find any hint for hours, glad i decided to join the forum.
Thank you and best regards


 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...