Jump to content
GreenSock

XPoli

disable "translateZ(0)" hack in v1.15.0

Moderator Tag
Go to solution Solved by GreenSock,

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi,

is there any way to disbale "translateZ(0)" hack in v1.15.0 ?

Please check the codepen example in Chrome.

When I use v1.14.2 it looks cool, but with v1.15.0 scale looks very blurry on webkit based browsers.

See the Pen VYPOGa by XPoli (@XPoli) on CodePen

Link to comment
Share on other sites

Thank you very much for the fast response!

Link to comment
Share on other sites

  • Solution

Yep, or on a per-tween basis, you can simply add force3D:false: 

TweenLite.to(element, 2, {x:200, force3D:false});
  • Like 2
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.
×