Jump to content
GreenSock

Chantal

Scale rendering artifact on iOS8

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,

 

Do you know a solution for this bug? I've attached an image cause i can't reproduce the bug in a Codepen.

 

This happen when I scale the image and just on iOS8, here's my line for this:

 

TweenMax.to($("#E3"), 1, {scale: 1, left: "145px", top:"200px", width: "744px", ease: Back.easeOut, zIndex:4, onComplete:onAddLoupe3});"

 

Thanks for your help!

Chantal

 

post-13821-0-85800900-1416495352_thumb.png

Link to comment
Share on other sites

Not sure if this helps, but I have observed this kind of artifact as well. Though in my case they were horizontal lines. In my case it happened when I scaled wide images using dimensions that were very different from the image's actual dimensions. I edited the image, changed its dimensions, and the problem went away. No idea if that will help in your case as I'm not sure if you're scaling an image or a div full of text. If it's a div, perhaps try overflow:hidden? Just an idea.

  • Like 1
Link to comment
Share on other sites

Hello Chantel,

 

If Maelfyn solution doesn't work.. try adding force3D:"auto" to your tween and see if that helps?

 

Also you try changing left to x (translateX) .. and top to y (translateY) .. so you can animate using translations instead of CSS positioning

 

:)

  • Like 1
Link to comment
Share on other sites

Hi,

 

I tried both but still have the artifact, so, I changed the animation for just a fade in-out cause it was just an update for iOS 8.  :|

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