kku98057 Posted March 8, 2022 Share Posted March 8, 2022 The y-position value of the text does not return. It's hard to solve it by myself. I'd appreciate it if you could help me T^T See the Pen eYeaJox by kku98057 (@kku98057) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted March 8, 2022 Share Posted March 8, 2022 Sorry about the confusion there, @kku98057. That is indeed a bug that is fixed in the next release which you can preview at https://assets.codepen.io/16327/gsap-latest-beta.min.js It only affects yPercent/xPercent animations - the cached values didn't get uncached. In the meantime, you can simply use a .fromTo() tween -OR- you can gsap.set() your initial values before you do your .from() to force them to be what they're supposed to be (rather than pulling from the cache). You're welcome to use that beta file (don't load it from that URL, though, because that file changes frequently - download it and push it to your server instead). Again, I apologize for the hassle. Link to comment Share on other sites More sharing options...
kku98057 Posted March 10, 2022 Author Share Posted March 10, 2022 Thank you! It was solved without a problem. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now