From 597258afd0d0735517c8d892ab1ce8cd15e06fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20Matias=CC=8Cko?= Date: Sat, 3 Aug 2024 23:22:17 +0200 Subject: [PATCH] Modal body blur fix --- src/components/Atomic/Modal/Modal.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Atomic/Modal/Modal.tsx b/src/components/Atomic/Modal/Modal.tsx index 5babfcb..3a6a63a 100644 --- a/src/components/Atomic/Modal/Modal.tsx +++ b/src/components/Atomic/Modal/Modal.tsx @@ -68,10 +68,14 @@ export const Modal: FC = memo((props) => { if (appRoot && show) { // @ts-ignore appRoot.style.filter = `blur(${show ? 6 : 0}px)` + // @ts-ignore + appRoot.style.overflow = `hidden` return () => { // @ts-ignore appRoot.style.filter = `none` + // @ts-ignore + appRoot.style.overflow = 'unset' } } }, [show, appRoot])