Jump to content
Search Community

Clip path animation bug?

Doomicus

Go to solution Solved by GreenSock,

Recommended Posts

Posted

Hello everyone, I have a problem when making this clip path animation. As you can see, before starting the animation, my divs have a minimum gap. Sometimes it is corrected, sometimes it is not. Is there a solution for this?

 

 

clip path animation bug?

 

 

See the Pen mydPaQq by zika-30 (@zika-30) on CodePen.

  • Solution
Posted

Welcome, @Doomicus. That looks like it has nothing to do with GSAP - it's just how the browser is rendering things. Maybe offset the values by 1, like: 

See the Pen RNwavNM?editors=1010 by GreenSock (@GreenSock) on CodePen.

 

Better? 

  • Like 1

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