Skip to content

Commit

Permalink
Fix overlay should be inert when modal is open
Browse files Browse the repository at this point in the history
Close #8166
  • Loading branch information
hrb-hub committed Dec 19, 2024
1 parent 1ff7ba0 commit 1831a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RootView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)],
)
}

Expand Down

0 comments on commit 1831a91

Please sign in to comment.