From f0b3115be169e26512714e9643bb74ea85dd745e Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Fri, 23 Nov 2018 21:33:03 -0800 Subject: [PATCH] fix(scrolling): fix body scrollable when modal is open (#681) Fixes #680 --- routes/_components/dialog/components/ModalDialog.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/routes/_components/dialog/components/ModalDialog.html b/routes/_components/dialog/components/ModalDialog.html index 99dcfc5..a333607 100644 --- a/routes/_components/dialog/components/ModalDialog.html +++ b/routes/_components/dialog/components/ModalDialog.html @@ -120,6 +120,9 @@ .muted-style.modal-dialog-contents { border: none; } + :global(body.modal-open) { + overflow-y: hidden; + }