TypeScript
fix(web): snooze menu no longer overlaps thread details (#9601)
Rakshith Bhat93c3ab4ffe40
diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsxindex 8b636dc6ed4..5e5a73c6f56 100644--- a/apps/web/src/components/Sidebar.tsx+++ b/apps/web/src/components/Sidebar.tsx@@ -1122,7 +1122,8 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {[onSnooze, threadRef],);// While the snooze popover is open the pointer leaves the row, which- // would fade the hover actions out from under the open menu; pin them.+ // would fade the hover actions out from under the open menu. Pin them and+ // suppress the row tooltip so its portal cannot overlap the popover.const [snoozeMenuOpenRaw, setSnoozeMenuOpen] = useState(false);// Snooze is offered only where it can succeed: capability-gated and never// on blocked-on-you work or queued turns (the server rejects both).@@ -1445,7 +1446,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {sortable?.isDragging && "z-20 opacity-80",)}>- <Tooltip>+ <Tooltip disabled={snoozeMenuOpen}><TooltipTriggerrender={<div