From 059015c8d1c49be726bccddaba74f9e07e9f28c8 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Wed, 4 Nov 2026 05:35:44 +0100 Subject: [PATCH] fix: let a long submenu use the window's height, and draw one focus ring round the folder filter --- components/email/move-target-list.tsx | 9 +++++---- components/ui/context-menu.tsx | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/components/email/move-target-list.tsx b/components/email/move-target-list.tsx index 51395ccb0..34632ca49 100644 --- a/components/email/move-target-list.tsx +++ b/components/email/move-target-list.tsx @@ -189,8 +189,9 @@ export function MoveFolderList({
{showFilter && (
-
)} diff --git a/components/ui/context-menu.tsx b/components/ui/context-menu.tsx index 8241bd4d0..e0468679b 100644 --- a/components/ui/context-menu.tsx +++ b/components/ui/context-menu.tsx @@ -781,7 +781,8 @@ export function ContextMenuSubMenu({ className="min-w-[180px] max-w-[min(20rem,calc(100vw-20px))] bg-background rounded-md shadow-lg border border-border" role="menu" > -
+ {/* As tall as the window allows (it's moved up to fit), then it scrolls. */} +
{children}