Skip to content

Commit 597258a

Browse files
Modal body blur fix
1 parent ffec079 commit 597258a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/components/Atomic/Modal/Modal.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,14 @@ export const Modal: FC<Props> = memo((props) => {
6868
if (appRoot && show) {
6969
// @ts-ignore
7070
appRoot.style.filter = `blur(${show ? 6 : 0}px)`
71+
// @ts-ignore
72+
appRoot.style.overflow = `hidden`
7173

7274
return () => {
7375
// @ts-ignore
7476
appRoot.style.filter = `none`
77+
// @ts-ignore
78+
appRoot.style.overflow = 'unset'
7579
}
7680
}
7781
}, [show, appRoot])

0 commit comments

Comments
 (0)