Ves
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Ves
-
-
We multiply by 3, because we want to show 3 items in a time. Sorry for not thinking
-
Hi, @PointC !
Your solution is much easier and works like a charm! Thank you so much!
Maybe you have time to clarify 2 things, i don't quiet understand in your code.
Why you disable warnings in tis linegsap.config({ trialWarn: false });
And this line, why multiple by 3?let newHeight = targets[0].offsetHeight * 3;
-
That's what i'm trying to achieve
-
Hello there!
I'm open to any suggestions, how to improve this list animation. I'm trying to create list animation. When we scroll to.target
section, scroll stops, and then next animation starting. All good so far. But the list animation is not correct. It's should be visible 3 items in a time, and the middle one is highlighted. But i've got some bugs with it.
I will be grateful for any help.See the Pen YzeBmpK by vasya-ves (@vasya-ves) on CodePen
Any suggestions how to improve animation
in GSAP
Posted
@PointC thank you so much for clarification and your help!