From fdf9fbec4a11537ba27bd60b3038bac24e6e08f3 Mon Sep 17 00:00:00 2001 From: SeoHyun Kim Date: Fri, 4 Oct 2024 09:38:43 +0900 Subject: [PATCH] Fix: qa (#82) --- src/components/BottomSheet.tsx | 1 - src/views/Detail/components/Review.tsx | 2 -- .../components/review/CategoryBottomSheet.tsx | 8 +++++++- src/views/Detail/components/review/Guide.tsx | 15 ++++++++++++++- src/views/Map/components/BottomSheetContent.tsx | 1 + .../components/Search/FilterBottomSheet.tsx | 8 +++++++- 6 files changed, 29 insertions(+), 6 deletions(-) diff --git a/src/components/BottomSheet.tsx b/src/components/BottomSheet.tsx index c060925..89d45ed 100644 --- a/src/components/BottomSheet.tsx +++ b/src/components/BottomSheet.tsx @@ -110,7 +110,6 @@ const backgroundCss = css` const containerCss = (height: string) => css` position: absolute; bottom: 0; - overflow: auto; width: 100dvw; height: ${height}; diff --git a/src/views/Detail/components/Review.tsx b/src/views/Detail/components/Review.tsx index a0f245d..3aae208 100644 --- a/src/views/Detail/components/Review.tsx +++ b/src/views/Detail/components/Review.tsx @@ -49,7 +49,6 @@ const Review = () => { const handleSetShowGuide = (value: boolean) => { setShowGuide(value); - document.body.style.overflow = ''; }; const handleFilterState = (category: category, facility: string) => { @@ -71,7 +70,6 @@ const Review = () => { const selectedFilterList = getFilterList(filterState); useEffect(() => { - if (showGuide) document.body.style.overflow = 'hidden'; if (sessionStorage.getItem(STORAGE_KEY.successToast)) { setToast(true); sessionStorage.removeItem(STORAGE_KEY.successToast); diff --git a/src/views/Detail/components/review/CategoryBottomSheet.tsx b/src/views/Detail/components/review/CategoryBottomSheet.tsx index a6d8eb7..6c9865e 100644 --- a/src/views/Detail/components/review/CategoryBottomSheet.tsx +++ b/src/views/Detail/components/review/CategoryBottomSheet.tsx @@ -43,7 +43,7 @@ const CategoryBottomSheet = (props: CategoryBottomSheetProps) => {

리뷰 필터

-