Anime: Scaling SVG is now blurry in Chrome.

Created on 10 Sep 2016  路  5Comments  路  Source: juliangarnier/anime

As of today, all of my SVG elements that I'm scaling with Anime are showing up blurry during the animation in Chrome. See below:

what

Why is this happening all of a sudden?

Most helpful comment

@harrynewsome

I've found a temporary fix with a CSS hack. Apply the following to your svg:

svg {
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1.0, 1.0);
  transform: translateZ(0);
}

Not ideal, but seems to do the trick.

All 5 comments

I can confirm that this doesn't happen in Firefox (v46) or Safari (v9) on a Mac, just with Chrome (v53.0.2785.101)

I am experiencing this too.

@harrynewsome

I've found a temporary fix with a CSS hack. Apply the following to your svg:

svg {
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1.0, 1.0);
  transform: translateZ(0);
}

Not ideal, but seems to do the trick.

@ndimatteo I'm not using SVG's but it fixed the issue nonetheless.

Thanks! 馃帀

Unfortunately I think this is related to a change in the Blink rendering engine or something like that. backface-visibility: hidden; sounds like a good solution for now thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

littlee picture littlee  路  3Comments

Elaborate3P1C picture Elaborate3P1C  路  7Comments

gaou-piou picture gaou-piou  路  3Comments

LiveLikeCounter picture LiveLikeCounter  路  3Comments

tom2strobl picture tom2strobl  路  4Comments