fix(web): snooze menu no longer overlaps thread details (#9601)
This commit is contained in:
1 parent
4cc800c759
commit
93c3ab4ffe
1 file changed
+3
-2
@@ -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}>
|
||||
<TooltipTrigger
|
||||
render={
|
||||
<div
|
||||
|
||||
Reference in new issue
Block a user