Jump to content
Search Community

ScrollTrigger ends earlier

Mitchsitoo test
Moderator Tag

Recommended Posts

It looks like you've miscalculated the necessary stroke-dashoffset. This is just one of the benefits of using our DrawSVGPlugin - it makes it all super easy and solves cross-browser issues too:

See the Pen xxBJejZ by GreenSock (@GreenSock) on CodePen

 

DrawSVGPlugin is a membership benefit of Club GSAP. 

 

If you prefer to skip drawSVG and instead directly animate strokeDashoffset, you'll need to figure out the proper values based on the length of the path. 

 

Good luck!

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