From 736733d7846ae2953a4145d0ae5872e18ff18bc2 Mon Sep 17 00:00:00 2001 From: swift-river542 Date: Wed, 16 Sep 2026 16:07:54 -0500 Subject: [PATCH] Map slot: own compositor layer so the rounded clip applies from the first frame --- app/components/DoxaMapSlot.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/components/DoxaMapSlot.vue b/app/components/DoxaMapSlot.vue index c4e07943..fcac9a44 100644 --- a/app/components/DoxaMapSlot.vue +++ b/app/components/DoxaMapSlot.vue @@ -47,6 +47,10 @@ const isSimple = props.bundle === 'simple-map' --slot-radius: 0px; clip-path: inset(0 round var(--slot-radius)); isolation: isolate; + /* Own compositor layer from the first frame: the rounded clip is then applied on the + compositor side before the WebGL canvas ever arrives (Chrome, real GPU). */ + will-change: transform; + transform: translateZ(0); } .doxa-map-slot.rounded-md { --slot-radius: var(--border-radius-lg); } .doxa-map-slot.rounded-xlg { --slot-radius: var(--border-radius-xlg); }