From ac92284edd498b0bd5340b1a544115636094fcae Mon Sep 17 00:00:00 2001 From: Hermes Date: Sat, 1 Aug 2026 13:27:08 +0000 Subject: [PATCH] fix: remove queryClient.invalidateQueries from title save to prevent parent re-render focus stealing --- apps/web/src/routes/_app/notes.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/routes/_app/notes.tsx b/apps/web/src/routes/_app/notes.tsx index c5cada9..7badeb6 100644 --- a/apps/web/src/routes/_app/notes.tsx +++ b/apps/web/src/routes/_app/notes.tsx @@ -40,6 +40,7 @@ const NoteEditor = memo(function NoteEditor({ initialContent, onSave, placeholde suppressContentEditableWarning className="prose prose-sm dark:prose-invert max-w-none p-3 focus:outline-none min-h-[300px]" onMouseDown={(e) => e.stopPropagation()} + onKeyDown={(e) => e.stopPropagation()} onBlur={handleBlur} />