From 45c5f9b4833618cdda8576d4d1231e54292c7c32 Mon Sep 17 00:00:00 2001 From: hrb-hub <181954414+hrb-hub@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:00:50 +0100 Subject: [PATCH] Fix overlay should be inert when modal is open Close #8166 --- src/RootView.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RootView.ts b/src/RootView.ts index dfb73e1003d5..2e68d181519d 100644 --- a/src/RootView.ts +++ b/src/RootView.ts @@ -76,7 +76,7 @@ export class RootView implements ClassComponent { height: "100%", }, }, - [m(overlay), m(modal), m(".main-view", { inert: modal.visible }, vnode.children)], + [m(".fill-absolute.noprint", { inert: modal.visible }, m(overlay)), m(modal), m(".main-view", { inert: modal.visible }, vnode.children)], ) }