Jump to content
Search Community

SVG group translateY bug in Safari

ikoshele test
Moderator Tag

Recommended Posts

Hey ikoshele and welcome to the GreenSock forums.

 

What version of GSAP are you using? As of GSAP 3 matrixes are no longer used as the default in transforms. The basic demo below behaves the same way in both Chrome and Safari for me.

See the Pen zYrJqGJ?editors=0010 by GreenSock (@GreenSock) on CodePen

 

Please modify the demo to recreate the issue that you're talking about then click the "fork" button and share the new link with us.

Link to comment
Share on other sites

We highly recommend setting all transform values on elements that you're animating with GSAP in GSAP. Not setting them with GSAP is one of the common GSAP mistakes. You can read about why it's important to do so in that post.

 

Here's how I'd set it up, making use of some tips in my article on animating efficiently:

See the Pen dyGqMLM?editors=0010 by GreenSock (@GreenSock) on CodePen

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