I have included a fixed element in a scrollable list for which the following CSS rule applies:
.frosty {
background-color: rgba(255, 255, 255, 0.5);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
}
At first glance, the effect works fine. However, as I am starting to move the content behind it, the background of the fixed element does not change.
Usually, content behind the fixed element would bleed through it, appearing as if it was frosted glass or similar. Could it be that React is preventing a re-rendering in some way? How could I fix it?
It does update whenever I resize my window.
Here's a minimal example. You can scroll the red, green and blue blocks behind the frosted and clear elements. The frosted one will not update.