add comments

pull/2599/head
Mikael Finstad 9 months ago
parent 251101c22e
commit 2511014ee1
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -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;

Loading…
Cancel
Save