camweb Posted February 3, 2022 Share Posted February 3, 2022 Hi i am sorry because i thinking my problem have an very easy solution... but i tried a lot of things and red so many time docs, common mistakes and topics. i am sure i forget a little thing... My animation is like i want but after animation play i use "once: true "and pinspacer div create a gap on top and i don't find how to fix it. Thanks for your answer and sorry if the solution was on the docs and i don't understood it. See the Pen GROqMXJ by camilleweb (@camilleweb) on CodePen Link to comment Share on other sites More sharing options...
akapowl Posted February 3, 2022 Share Posted February 3, 2022 Welcome to the GSAP forums @camweb Take a look at these threads. They contain suggestions for how to handle pinning scrubbing ScrollTriggers that you only want to play once. I hope those do help. Happy scrolling! 4 Link to comment Share on other sites More sharing options...
camweb Posted February 3, 2022 Author Share Posted February 3, 2022 Thank you it's work much better with on leave. I tried resize with onComplete but my function did not work as well ! Sorry i only try Scrolltrigger search in one word... And another thank you for your very fast answer. Happy scolling from France ! 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