Suppress pointer events for hidden dialogs
authorAlexander Ebert <ebert@woltlab.com>
Sun, 19 Jan 2020 17:58:45 +0000 (18:58 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 19 Jan 2020 17:58:45 +0000 (18:58 +0100)
wcfsetup/install/files/style/ui/dialog.scss

index 6f3ce76afe8a2ec739591a2c012ca7e93e4fc1ed..ac19d5339e3d2fbd836222e4fc8279884352ee82 100644 (file)
@@ -72,6 +72,8 @@
        }
        
        &[aria-hidden=true] {
+               /* Child elements with `visibility: visible` will not be visually rendered, but pointer events are recognized. */
+               pointer-events: none;
                visibility: hidden;
        }