diff --git a/src/components/Common/BottomSheetLayout.tsx b/src/components/Common/BottomSheetLayout.tsx
index 5f714080..a7e16597 100644
--- a/src/components/Common/BottomSheetLayout.tsx
+++ b/src/components/Common/BottomSheetLayout.tsx
@@ -38,36 +38,50 @@ const BottomSheetLayout = ({
}
}, [contentRef]);
+ useEffect(() => {
+ if (isShowBottomsheet) document.body.style.overflow = 'hidden';
+ else document.body.style.overflow = 'auto';
+
+ return () => {
+ document.body.style.overflow = 'auto';
+ };
+ }, [isShowBottomsheet]);
+
return (
-
- {hasHandlebar && (
-
+ <>
+ {isShowBottomsheet && (
+
)}
- {children}
-
+
+ {hasHandlebar && (
+
+ )}
+ {children}
+
+ >
);
};