From 31970edc6b2c4d6acd1e5ec3a5402af450e51116 Mon Sep 17 00:00:00 2001 From: Vorflux AI Date: Mon, 1 Jun 2026 00:08:14 +0000 Subject: [PATCH] fix: enter key creates new line on mobile instead of sending message --- apps/web/components/chat/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/chat/index.tsx b/apps/web/components/chat/index.tsx index af21ddfa..17666d42 100644 --- a/apps/web/components/chat/index.tsx +++ b/apps/web/components/chat/index.tsx @@ -364,7 +364,7 @@ export function ChatSidebar({ ) const handleKeyDown = (e: React.KeyboardEvent) => { - if (e.key === "Enter" && !e.shiftKey) { + if (e.key === "Enter" && !e.shiftKey && !isMobile) { e.preventDefault() handleSend() }