From 7790965f0739dd5bec8861cdd22a69f44a6ca4e3 Mon Sep 17 00:00:00 2001 From: sunhwaaRj Date: Wed, 4 Mar 2026 14:27:39 +0900 Subject: [PATCH 1/4] =?UTF-8?q?#156=20[CHORE]=20=ED=91=B8=ED=84=B0=20?= =?UTF-8?q?=EC=9D=B4=EB=A9=94=EC=9D=BC=20=EC=A0=95=EB=B3=B4=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/Footer.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/common/Footer.tsx b/src/components/common/Footer.tsx index 3710ed53..6907cb51 100644 --- a/src/components/common/Footer.tsx +++ b/src/components/common/Footer.tsx @@ -25,7 +25,7 @@ const Footer = () => {
-

Teamficial@gmail.com

+

teamficial25@gmail.com

© 2025.Teamficial. ALL rights reserved.

@@ -66,12 +66,12 @@ const Footer = () => {
logo -

Teamficial@gmail.com

+

teamficial25@gmail.com

© 2025.Teamficial. ALL rights reserved.

- + mail Date: Wed, 4 Mar 2026 14:44:45 +0900 Subject: [PATCH 2/4] =?UTF-8?q?#156=20[CHORE]=20=EB=93=9C=EB=9E=98?= =?UTF-8?q?=EA=B7=B8=20=EC=8B=9C=20=EA=B8=B0=EB=B3=B8=20=EB=8F=99=EC=9E=91?= =?UTF-8?q?=20=EB=B0=A9=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(main)/teampsylog/_components/useBottomSheetDrag.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/(main)/teampsylog/_components/useBottomSheetDrag.ts b/src/app/(main)/teampsylog/_components/useBottomSheetDrag.ts index a63978a6..07100db6 100644 --- a/src/app/(main)/teampsylog/_components/useBottomSheetDrag.ts +++ b/src/app/(main)/teampsylog/_components/useBottomSheetDrag.ts @@ -65,6 +65,7 @@ const useBottomSheetDrag = ({ isOpen, onClose }: UseBottomSheetDragProps) => { const currentY = e.touches[0].clientY; const diff = currentY - dragStartY; if (diff > 0) { + e.preventDefault(); setDragCurrentY(diff); } }; From a50c7890b92be579472db9d15ec368e427a96d60 Mon Sep 17 00:00:00 2001 From: sunhwaaRj Date: Wed, 4 Mar 2026 14:46:14 +0900 Subject: [PATCH 3/4] =?UTF-8?q?#156=20[CHORE]=20=EB=AA=A8=EB=B0=94?= =?UTF-8?q?=EC=9D=BC=20=EC=BD=94=EB=A9=98=ED=8A=B8=20=EC=B0=BD=20=EB=86=92?= =?UTF-8?q?=EC=9D=B4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(main)/teampsylog/_components/BottomComment.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/(main)/teampsylog/_components/BottomComment.tsx b/src/app/(main)/teampsylog/_components/BottomComment.tsx index 3838f9ff..28fa9dce 100644 --- a/src/app/(main)/teampsylog/_components/BottomComment.tsx +++ b/src/app/(main)/teampsylog/_components/BottomComment.tsx @@ -38,8 +38,8 @@ const BottomComment = ({ isOpen, onClose, children }: BottomSheetProps) => {
Date: Wed, 4 Mar 2026 15:55:38 +0900 Subject: [PATCH 4/4] =?UTF-8?q?#156=20[CHORE]=20=EC=BD=94=EB=A9=98?= =?UTF-8?q?=ED=8A=B8=20=EC=B0=BD=20=EB=93=9C=EB=9E=98=EA=B7=B8=20=EA=B0=90?= =?UTF-8?q?=EB=8F=84=20=EC=9D=BC=EA=B4=80=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../(main)/teampsylog/_components/BottomComment.tsx | 4 +++- .../teampsylog/_components/useBottomSheetDrag.ts | 10 ++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/app/(main)/teampsylog/_components/BottomComment.tsx b/src/app/(main)/teampsylog/_components/BottomComment.tsx index 28fa9dce..dd6cc829 100644 --- a/src/app/(main)/teampsylog/_components/BottomComment.tsx +++ b/src/app/(main)/teampsylog/_components/BottomComment.tsx @@ -10,6 +10,8 @@ interface BottomSheetProps { } const BottomComment = ({ isOpen, onClose, children }: BottomSheetProps) => { + const sheetHeight = Math.round(typeof window !== 'undefined' ? window.innerHeight * 0.7 : 500); + const { dragCurrentY, isDragging, @@ -20,7 +22,7 @@ const BottomComment = ({ isOpen, onClose, children }: BottomSheetProps) => { handleTouchEnd, handleClose, shouldShow, - } = useBottomSheetDrag({ isOpen, onClose }); + } = useBottomSheetDrag({ isOpen, onClose, sheetHeight }); return ( <> diff --git a/src/app/(main)/teampsylog/_components/useBottomSheetDrag.ts b/src/app/(main)/teampsylog/_components/useBottomSheetDrag.ts index 07100db6..6838d5b6 100644 --- a/src/app/(main)/teampsylog/_components/useBottomSheetDrag.ts +++ b/src/app/(main)/teampsylog/_components/useBottomSheetDrag.ts @@ -3,10 +3,12 @@ import { useCallback, useEffect, useRef, useState } from 'react'; interface UseBottomSheetDragProps { isOpen: boolean; onClose: () => void; + sheetHeight: number; } -const useBottomSheetDrag = ({ isOpen, onClose }: UseBottomSheetDragProps) => { +const useBottomSheetDrag = ({ isOpen, onClose, sheetHeight }: UseBottomSheetDragProps) => { const closeTimerRef = useRef(null); + const closeThreshold = sheetHeight * 0.24; const [dragStartY, setDragStartY] = useState(0); const [dragCurrentY, setDragCurrentY] = useState(0); @@ -46,14 +48,14 @@ const useBottomSheetDrag = ({ isOpen, onClose }: UseBottomSheetDragProps) => { const handleMouseUp = useCallback(() => { if (!isDragging) return; - if (dragCurrentY > 150) { + if (dragCurrentY > closeThreshold) { handleClose(); setDragCurrentY(0); } else { setDragCurrentY(0); } setIsDragging(false); - }, [isDragging, dragCurrentY, handleClose]); + }, [isDragging, dragCurrentY, handleClose, closeThreshold]); const handleTouchStart = (e: React.TouchEvent) => { setDragStartY(e.touches[0].clientY); @@ -72,7 +74,7 @@ const useBottomSheetDrag = ({ isOpen, onClose }: UseBottomSheetDragProps) => { const handleTouchEnd = () => { if (!isDragging) return; - if (dragCurrentY > 150) { + if (dragCurrentY > closeThreshold) { handleClose(); setDragCurrentY(0); } else {