From c7f36d1a5ab395d0b4480e536e00bee7b1138d7b Mon Sep 17 00:00:00 2001 From: cathy <38449456+CathyL0@users.noreply.github.com> Date: Tue, 12 Aug 2025 18:17:19 +0800 Subject: [PATCH] chore: goto anything mouse keyboard interaction (#23805) --- web/app/components/goto-anything/command-selector.tsx | 2 +- web/app/components/goto-anything/index.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web/app/components/goto-anything/command-selector.tsx b/web/app/components/goto-anything/command-selector.tsx index d66a22eab..c2a266969 100644 --- a/web/app/components/goto-anything/command-selector.tsx +++ b/web/app/components/goto-anything/command-selector.tsx @@ -61,7 +61,7 @@ const CommandSelector: FC = ({ actions, onCommandSelect, searchFilter, co className="flex cursor-pointer items-center rounded-md p-2.5 transition-all - duration-150 hover:bg-state-base-hover aria-[selected=true]:bg-state-base-hover" + duration-150 hover:bg-state-base-hover-alt aria-[selected=true]:bg-state-base-hover" onSelect={() => onCommandSelect(action.shortcut)} > diff --git a/web/app/components/goto-anything/index.tsx b/web/app/components/goto-anything/index.tsx index 29789e11e..bdd84f4f2 100644 --- a/web/app/components/goto-anything/index.tsx +++ b/web/app/components/goto-anything/index.tsx @@ -245,6 +245,7 @@ const GotoAnything: FC = ({ className='outline-none' value={cmdVal} onValueChange={setCmdVal} + disablePointerSelection >
@@ -322,7 +323,7 @@ const GotoAnything: FC = ({ handleNavigate(result)} > {result.icon}