From 3ee04bc17fee42f77b26a33632b2d81201d99b29 Mon Sep 17 00:00:00 2001 From: iyxxnjin <131842947+iyxxnjin@users.noreply.github.com> Date: Fri, 2 Jan 2026 10:20:39 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=9A=A8=20Fix=20:=20=EB=8C=80=EC=8B=9C?= =?UTF-8?q?=EB=B3=B4=EB=93=9C=20=EB=AA=A8=EB=B0=94=EC=9D=BC=20=ED=99=98?= =?UTF-8?q?=EA=B2=BD=EC=97=90=EC=84=9C=20=EB=93=9C=EB=A1=AD=EB=8B=A4?= =?UTF-8?q?=EC=9A=B4=20=EB=82=98=ED=83=80=EB=82=98=EB=8F=84=EB=A1=9D=20por?= =?UTF-8?q?tal=20position=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/dropdown/dropdown-portal/DropdownPortal.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/common/dropdown/dropdown-portal/DropdownPortal.tsx b/src/components/common/dropdown/dropdown-portal/DropdownPortal.tsx index d5ef0fe..3067cb2 100644 --- a/src/components/common/dropdown/dropdown-portal/DropdownPortal.tsx +++ b/src/components/common/dropdown/dropdown-portal/DropdownPortal.tsx @@ -1,7 +1,7 @@ import { useState, useEffect } from "react"; import { useDeviceSize } from "@/hooks/useDeviceSize"; -import Portal from "../../../../components/common/dropdown/dropdown-portal/Portal"; +import Portal from "@/components/common/dropdown/dropdown-portal/Portal"; import Dropdown, { DropdownItem } from "@/components/common/dropdown"; interface DropdownPortalProps { @@ -22,8 +22,8 @@ export default function DropdownPortal({ if (isMobile) { setStyle({ - position: "fixed", - top: anchorRect.bottom + window.scrollY + 4, + position: "absolute", + top: anchorRect.bottom + window.scrollY + 5, left: anchorRect.right + window.scrollX - 90, zIndex: 1000, }); From b4a4716594f2ab70870873dbc242a40eebdddfcf Mon Sep 17 00:00:00 2001 From: iyxxnjin <131842947+iyxxnjin@users.noreply.github.com> Date: Fri, 2 Jan 2026 13:09:25 +0900 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=9A=A8=20Fix=20:=20=ED=95=A0=20?= =?UTF-8?q?=EC=9D=BC=20=EC=88=98=EC=A0=95=20=EB=AA=A8=EB=B0=94=EC=9D=BC=20?= =?UTF-8?q?=EB=B2=84=EC=A0=84=EC=97=90=EC=84=9C=20=EC=8A=A4=ED=81=AC?= =?UTF-8?q?=EB=A1=A4=20=EB=B0=A9=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_components/mobile/MobileDialogLayout.tsx | 9 ++++++++- .../dropdown/dropdown-portal/DropdownPortal.tsx | 12 ++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src/app/(protected)/_components/todo-modal/_components/mobile/MobileDialogLayout.tsx b/src/app/(protected)/_components/todo-modal/_components/mobile/MobileDialogLayout.tsx index cd2b2ca..164f623 100644 --- a/src/app/(protected)/_components/todo-modal/_components/mobile/MobileDialogLayout.tsx +++ b/src/app/(protected)/_components/todo-modal/_components/mobile/MobileDialogLayout.tsx @@ -1,6 +1,6 @@ "use client"; -import { ReactNode } from "react"; +import { ReactNode, useEffect } from "react"; interface MobileDialogLayoutProps { children: ReactNode; @@ -11,6 +11,13 @@ export default function MobileDialogLayout({ children, onClose, }: MobileDialogLayoutProps) { + useEffect(() => { + document.body.style.overflow = "hidden"; + + return () => { + document.body.style.overflow = ""; + }; + }, []); return (