Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Ahrengot

How to fix rendering artifacts in Chrome

Recommended Posts

Hey guys,

 

From time to time I get wierd rendering artifacts in Google Chrome when using TweenMax. They only appear in Chrome, so I'm pretty sure its a bug in that particular browser, but I'd really like to get rid of them.

 

Does this only happen to me? Does anyone know a hack to git rid of these artifacts?

 

There's a live demo of the issue here: http://ahrengot.com/...round/tweenmax/ ... Click anywhere to animate the box and see the issue.

 

And here's a screenshot of the artifacts:

artifacts.png

Share this post


Link to post
Share on other sites

Actually, I can see that switching from public realease version of chrome (v.21) to the latest developer build (v.23) fixes the problem, so it seems like they're aware of it.

 

Anyway, it would still be nice if anyone knew of a temporary fix.

Share this post


Link to post
Share on other sites

Hi Ahrengot

 

Thank you for posting the very clear example. I have seen this occasionally myself.

Your demo shows artifacts in Chrome for me but not in Safari. I know that my own examples have not reproduced artifactson other systems running Chrome so perhaps its a browser/video card combo issue. I've also seen it in Safari on iOS.

 

The fix is adding the following css:

 -webkit-backface-visibility:hidden;

 

live demo:

http://jsfiddle.net/geekambassador/F2J3s/

 

artifacts visible

//Mac Chrome Version 21.0.1180.79

//video card: ATI Radeon HD 4850

  • Like 3

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×