From 806fe70c5153b18143b3d5439d065154cefa50ec Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Sun, 19 Jan 2025 19:00:21 -0800 Subject: [PATCH] Fixes --- webview-ui/src/components/chat/ChatTextArea.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/webview-ui/src/components/chat/ChatTextArea.tsx b/webview-ui/src/components/chat/ChatTextArea.tsx index bed965af54..5c37147cf5 100644 --- a/webview-ui/src/components/chat/ChatTextArea.tsx +++ b/webview-ui/src/components/chat/ChatTextArea.tsx @@ -977,12 +977,12 @@ const ChatTextArea = forwardRef( isActive={showModelSelector} disabled={textAreaDisabled} onClick={handleModelButtonClick} - onKeyDown={(e) => { - if (e.key === "Enter" || e.key === " ") { - e.preventDefault() - handleModelButtonClick() - } - }} + // onKeyDown={(e) => { + // if (e.key === "Enter" || e.key === " ") { + // e.preventDefault() + // handleModelButtonClick() + // } + // }} tabIndex={0}> {modelDisplayName}