From f22d67e482696f04f30058a0e13da2b341eedd7a Mon Sep 17 00:00:00 2001 From: HSU Rynki Date: Mon, 25 May 2020 11:03:36 +0800 Subject: [PATCH] fix(modal): set body hidden false on close modal --- components/modal/modal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/modal/modal.tsx b/components/modal/modal.tsx index 612af0a..cdfbf45 100644 --- a/components/modal/modal.tsx +++ b/components/modal/modal.tsx @@ -47,6 +47,7 @@ const Modal: React.FC> = ({ const closeModal = () => { setVisible(false) + setBodyHidden(false) onClose && onClose() }