From e7a5ef5b406e634b126822120d32002c50b4627b Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Mon, 28 Jul 2025 21:29:49 +0200 Subject: [PATCH] bring back popover open clickthrough block --- src/styles/global.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/styles/global.css b/src/styles/global.css index 50ea4d7..70fd337 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -15,6 +15,18 @@ html { overflow-y: scroll; scroll-behavior: smooth; + *:has(:popover-open) { + pointer-events: none; + touch-action: none; + [popover] { + pointer-events: auto; + touch-action: auto; + } + ::backdrop { + pointer-events: all; + touch-action: manipulation; + } + } } /* evil hack. this will run for all browsers but safari and similar */