From a673d77d58d2836c44fc9704848ad82ee49ae11a Mon Sep 17 00:00:00 2001 From: Hermes Date: Sat, 1 Aug 2026 13:21:14 +0000 Subject: [PATCH] fix: prevent search input from receiving focus via onMouseDown preventDefault --- apps/web/src/routes/_app/notes.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/routes/_app/notes.tsx b/apps/web/src/routes/_app/notes.tsx index 16b17f9..c5cada9 100644 --- a/apps/web/src/routes/_app/notes.tsx +++ b/apps/web/src/routes/_app/notes.tsx @@ -198,7 +198,7 @@ function NotesPage() {
- setSearch(e.target.value)} className="pl-8" tabIndex={-1} /> + setSearch(e.target.value)} className="pl-8" tabIndex={-1} onMouseDown={(e) => e.preventDefault()} />