From 2511014ee1afd20ad863bc7de5990be0078edf42 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Sat, 1 Nov 2025 18:53:29 +0800 Subject: [PATCH] add comments --- src/renderer/src/swal2.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/renderer/src/swal2.scss b/src/renderer/src/swal2.scss index 2ad4b087..201914e3 100644 --- a/src/renderer/src/swal2.scss +++ b/src/renderer/src/swal2.scss @@ -46,6 +46,11 @@ $swal2-button-focus-box-shadow: 0 0 0 1px $swal2-background, 0 0 0 3px $swal2-ou // Because radix-ui Dialog uses pointer-events: none on the whole app when a dialog is open, but we still want to interact with swal2 popups (which are on top) // Note that this is still kind of broken (clicks may go through the popup and scroll doesn't work), but better than nothing. +// https://github.com/sweetalert2/sweetalert2/issues/665 +// https://github.com/radix-ui/primitives/issues/3353#issuecomment-2664085003 +// https://github.com/radix-ui/primitives/issues/3298 +// https://github.com/radix-ui/primitives/issues/2122 +// https://github.com/shadcn-ui/ui/issues/6988 // TODO remove usage of sweetalert2 and use our own dialog component instead. .swal2-popup { pointer-events: auto;