Repository navigation
Replies: 1 comment 1 reply
|
Thanks for the find. It's fixed on Bubble Card rewrites a module's CSS, and Chromium drops the I'm not sure, but it looks like the root cause might be in Bubble Card itself, since its own |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Every pop-up blurs the page by 10 px by design. That part is fine. The issue is that the blur is also active while the backdrop is hidden.
origami_popup(v4.17.1, around line 273) sets--custom-backdrop-filter: blur(10px)on.bubble-backdroppermanently. Bubble Card 3.4.3 creates the backdrop when the dashboard loads and leaves it withopacity: 0(.is-hidden) but notdisplay: noneuntil a pop-up has been opened and closed once. Until then, the browser computes a full-viewport backdrop blur that is never visible, on every dashboard load.To reproduce: open a dashboard with an Origami pop-up and, before opening any pop-up, inspect
.bubble-backdrop(inside.bubble-backdrop-host):opacity: 0,backdrop-filter: blur(10px).Cost: Pixel 8 Pro, Chrome, dashboard idle, GPU time of Chrome from the Mali driver, 2 rounds each:
CPU unchanged.
Workaround we use, added to the backdrop host's shadow root:
The delayed transition keeps the blur during the 0.3 s fade-out, so opening and closing look the same. Checked in Chromium and WebKit.
performance_mode: performancealso avoids the cost, but it drops the blur while the pop-up is open too.Bubble Card's own
backdrop_blurseems to behave the same way, so the root cause may be there.All reactions