Jump to content
Search Community

PRE and POST pinning animations

evomedia.lt test
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

I'm building an app that has some slides scrolling along with page, however, to make the transition to pinned elements smoother I need pre and post pinning animations.

 

I've built a quick example of my solution, and would like to know if there's more elegant/optimal way to do this?

Any input appreciated.

See the Pen Poxavdv by driezis (@driezis) on CodePen

Link to comment
Share on other sites

If it works just the way you intended and you are happy with it, I don't think there would be much reason to change anything.

 

We love helping with GSAP-related questions, but unfortunately we just don't have the resources to provide free general consulting.

Of course anyone else is welcome to post an answer if they'd like - we just want to manage expectations.  

 

You are welcome to post in the "Jobs & Freelance" forum for paid consulting, or contact us directly. 

 

Otherwise, if you've got a GSAP-specific question just post that here along with a minimal demo and we'd be happy to take a look. 

  • Like 1
Link to comment
Share on other sites

On 7/21/2023 at 4:06 PM, GSAP Helper said:

If it works just the way you intended and you are happy with it, I don't think there would be much reason to change anything.

 

We love helping with GSAP-related questions, but unfortunately we just don't have the resources to provide free general consulting.

Of course anyone else is welcome to post an answer if they'd like - we just want to manage expectations.  

 

You are welcome to post in the "Jobs & Freelance" forum for paid consulting, or contact us directly. 

 

Otherwise, if you've got a GSAP-specific question just post that here along with a minimal demo and we'd be happy to take a look. 

Oh, I have no issue with this - it's just that it looks more like a workaround than a solution so I was wondering if I'm missing some core GSAP mechanics of doing this.

Particularly - the ease-in and ease-out from a scrollTrigger pinned animation (before and after it is pinned). 

 

Thanks for the response either way.

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