From 0285622fe166a6cfe4fc867664129a0dfaf45d95 Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 3 Mar 2026 09:43:28 +0100 Subject: [PATCH] fix: tooltip no longer covers status dropdown menu items The outer Tooltip on the status badge was overlaying the DropdownMenu content, hiding "Reopen Round". Now the tooltip is forced closed whenever the dropdown is open. Co-Authored-By: Claude Opus 4.6 --- src/app/(admin)/admin/rounds/[roundId]/page.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/(admin)/admin/rounds/[roundId]/page.tsx b/src/app/(admin)/admin/rounds/[roundId]/page.tsx index c3b5514..253d2f6 100644 --- a/src/app/(admin)/admin/rounds/[roundId]/page.tsx +++ b/src/app/(admin)/admin/rounds/[roundId]/page.tsx @@ -185,6 +185,7 @@ export default function RoundDetailPage() { const [nameValue, setNameValue] = useState('') const nameInputRef = useRef(null) const [statusConfirmAction, setStatusConfirmAction] = useState<'activate' | 'close' | 'reopen' | 'archive' | null>(null) + const [statusDropdownOpen, setStatusDropdownOpen] = useState(false) const [coverageOpen, setCoverageOpen] = useState(false) const utils = trpc.useUtils() @@ -650,10 +651,10 @@ export default function RoundDetailPage() { {/* Status dropdown with confirmation dialogs (4.1) */} - + - +