desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Items with `backdrop-filter` overflow roundings

Open ghivert opened this issue 2 years ago • 2 comments

Captchas

  • [X] I have read the instructions.
  • [X] I have searched existing issues and avoided creating duplicates.
  • [X] I am not filing an enhancement request.

What happened?

When an item is at the top of the HTML tree, and is styled with backdrop-filter, the element does not get rounded in the page.

Some examples : Capture d’écran 2024-11-20 à 22 11 57 Capture d’écran 2024-11-20 à 22 12 08

Can be seen on https://sketch-gleam.netlify.app/.

Reproducible?

  • [X] I have checked that this issue cannot be reproduced on Mozilla Firefox.

Version

1.0.1-a.19

What platform are you seeing the problem on?

macOS - aarch64

Relevant log output

No response

ghivert avatar Nov 20 '24 21:11 ghivert

This issue also occurs on zen-browser.com, see https://github.com/zen-browser/desktop/issues/3557.

It also happens on x.com. Commenting out these seemingly unrelated styles on X's stylesheet fixes it:

.r-1xcajam{position:fixed;}
.r-18u37iz{flex-direction:row;}
.r-1awozwy{align-items:center;}

So the problem does not seem unique to backdrop-filter.

It seems we can't simply rely on border-radius for the clipping since there are combinations of elements & styles that do not get clipped by overflow: hidden.

broekew avatar Dec 17 '24 02:12 broekew

Duplicate of #3053

mr-cheffy avatar Dec 27 '24 20:12 mr-cheffy