Jump to content
Search Community

Misunderstanding with the timeline

Maria07 test
Moderator Tag

Recommended Posts

Hi,

 

Is really hard for us to debug a live site. Please create a minimal demo showing the problem you have.

 

I inspected your site quickly and saw that you're animating the padding top and font-size properties of that particular element which changes it's height. That also resides in an element that you are pinning as well. That could be the issue here. It's always recommended to not animate paddings because of performance and anything that changes the height of the element as it's becoming pinned could affect the calculations ScrollTrigger does.

 

But as I mentioned, without a minimal demo, there is not much we can do.

Happy Tweening!

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