Jump to content
Search Community

ScrollTrigger : Pin spacer create a gap on top

camweb test
Moderator Tag

Recommended Posts

 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

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 !

  • 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...