From 931e166b18d768be5e4e98987f3d3642bb0cf50d Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 8 Jan 2026 19:24:20 -0500 Subject: [PATCH 1/2] wip: zen Revert "wip: zen" This reverts commit 10ff8a6a0989c3ad1750bcd77bd82ad2766131b5. From 2aa73edc1131fe5800a66256b53915449058b2aa Mon Sep 17 00:00:00 2001 From: zerone0x Date: Fri, 9 Jan 2026 11:53:39 +0800 Subject: [PATCH 2/2] fix(ui): allow text editing shortcuts in search dialogs on macOS Skip list navigation when modifier keys (Alt/Option or Meta/Cmd) are pressed, allowing native text editing shortcuts like Option+Arrow (word navigation) and Option+Backspace (delete word) to work in search dialogs. Fixes #7398 Co-Authored-By: Claude Opus 4.5 --- packages/ui/src/hooks/use-filtered-list.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/ui/src/hooks/use-filtered-list.tsx b/packages/ui/src/hooks/use-filtered-list.tsx index 242d16a25ef..1b3be4b4ca0 100644 --- a/packages/ui/src/hooks/use-filtered-list.tsx +++ b/packages/ui/src/hooks/use-filtered-list.tsx @@ -82,6 +82,8 @@ export function useFilteredList(props: FilteredListProps) { const selected = flat()[selectedIndex] if (selected) props.onSelect?.(selected, selectedIndex) } else { + // Skip list navigation for text editing shortcuts (e.g., Option+Arrow, Option+Backspace on macOS) + if (event.altKey || event.metaKey) return list.onKeyDown(event) } }