Static GitHub Issues

[1867] Why Nuxt adds backface-visibility: hidden?

prev: https://nuxtjs.org can not open
next: SPA deployed on netlify not loading

I just discovered the most annoying bug on Earth, guys. I spend 30 minutes to figuring out why my layout looks strange (transparent rectangle around text). Then I saw this

.main-content-wrapper
    transition: background-color .75s;
    backface-visibility: hidden;
    will-change: background-color;

My original code doesn't have this backface-visibility: hidden!!! Why Nuxt adds it? Both in Dev and after build.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1677">#c1677</a>)</em></sub></div>