Jump to content
Search Community

ScrollTrigger Object Get Faster Just Before Finishing Animation

fonveton test
Moderator Tag

Go to solution Solved by fonveton,

Recommended Posts

Hello, I'm having trouble with scrollTrigger easing. Just before animation ending my target object gets faster and sits back to its position.

I couldn't create a codepen because there is a whole website behind but here is what my gsap code looks like.

 

gsap.to('#page-about .contents .container .sidebar .slogan-bar', {
        scrollTrigger: {
            trigger: "#page-about .contents .container .sidebar",
            start: "top center",
            end: "bottom center",
            scrub: 1,
            markers: true,
        },
        ease: Power0.easeOut,
        y: 100,
    });

 

And here is a video about my issue: https://streamable.com/3qc1sr

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