From 769ec9c5f30d354df9e834e2ef9f885688542c69 Mon Sep 17 00:00:00 2001 From: Aryan Date: Sat, 19 Sep 2026 12:53:01 -0700 Subject: [PATCH] fix: remove empty handleKeyDown override blocking Enter-to-send - research/page.tsx was passing an empty handleKeyDown function that overrode PromptInputTextarea's built-in Enter/Shift+Enter logic - Removed the override so Enter sends message, Shift+Enter creates newline Closes #31 --- src/app/research/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/research/page.tsx b/src/app/research/page.tsx index 1f90c9c..69bd2ac 100644 --- a/src/app/research/page.tsx +++ b/src/app/research/page.tsx @@ -646,7 +646,7 @@ function ResearchChatPageContent() { } }; - const handleKeyDown = () => { }; + //const handleKeyDown = () => { }; useEffect(() => { setMode(activeTool === "code-composer" ? "code" : "research"); @@ -1034,7 +1034,7 @@ function ResearchChatPageContent() { setInputValue(e.target.value)} - onKeyDown={handleKeyDown as any} + //{handleKeyDown as any} placeholder={getPlaceholder()} disabled={ isLoading ||