9

I do face a rendering problem using backdrop-filter: blur(12px); in Chrome 76 on MacOS Mojave. Whenever I start to hover with my mouse over the opened tabs in Chrome, the div using the backdrop-filter starts flickering and the div is subdivided into smaller rectangles having different colors and are split by horizontal lines with shadows.

I don't know if it's a rendering problem, a glitch, some overflow problem or just a bug in Chrome.

Here is the fiddle.

I already tried variations of:

  • transform: translateZ(0);
  • backface-visibility: hidden;
  • overflow: hidden;
  • margin: 0
  • will-change:top;
  • position: static;

Nothing seemed to work.

Minimal Example:

<html>
<head>
</head>

<body>
    <div id="articleViewOverlay" class="articleViewOverlay">
    </div>
</body>

</html>
.articleViewOverlay {
    position: fixed;
    width: 200px;
    height: 200px;
    border-style: dashed;
    backdrop-filter: blur(12px);
    background-color: rgba(125, 125, 125, 0.4); 
    margin: 0; 
    overflow: hidden;
}
Georg
  • 93
  • 1
  • 4
  • Here's another example of recreation of that strange behaviour: https://jsfiddle.net/jxkfh9b8/embedded/result The whole browser starts flashing (Chrome 79, Mac OS X El Capitan) when I move the mouse over browser tabs... – neoDev Feb 02 '20 at 11:42

3 Answers3

5

From your description, my guess is that you're encountering this bug. If so, feel free to star that bug (top-left corner) to get updates. There aren't any workarounds at this point, but it's work in progress.

Mason Freed
  • 5,493
  • 1
  • 19
  • 13
  • 2
    That's exactly the problem I've been facing. Thank you! :) I'll guess I just have to wait for a fix. Until then, I'll just do a simple blur with the elements below the modal that is displayed. – Georg Sep 11 '19 at 19:50
  • Just for posterity, this bug was fixed in Chrome 79 and above. – Mason Freed Dec 22 '20 at 17:56
1

I had the same problem, adding this to the element being blurred fixes it:

 -webkit-transform:translate3d(0,0,0);

because if forces gpu rendering

Marghen
  • 255
  • 2
  • 6
-1

The bug was fixed in Chrome build 79.0.3945.1 (Oct 16th, 2019)

Cyral
  • 13,999
  • 6
  • 50
  • 90