From 4ef361da737175900b503cb457754e74111fe8a5 Mon Sep 17 00:00:00 2001 From: Jan Jaap Date: Fri, 1 May 2026 03:12:48 +0200 Subject: [PATCH] fix(mobile): enable touch scrolling in file picker modal (#2420) Co-authored-by: Claude Haiku 4.5 Co-authored-by: Julius Marminge --- apps/web/src/components/CommandPalette.tsx | 3 +++ apps/web/src/components/ui/command.tsx | 17 ++++++++++++----- apps/web/src/components/ui/scroll-area.tsx | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/apps/web/src/components/CommandPalette.tsx b/apps/web/src/components/CommandPalette.tsx index 050337e438aebe251ec2c74f4e61a7bfac1345d1..d64c80ff96da7d420c56cd6ec001e294b076399d 100644 --- a/apps/web/src/components/CommandPalette.tsx +++ b/apps/web/src/components/CommandPalette.tsx @@ -994,6 +994,9 @@ function OpenCommandPaletteDialog() { composerHandleRef?.current?.focusAtEnd(); return false; }} + onBackdropPointerDown={() => { + setOpen(false); + }} > ; +}) { return ( - + ) { return (