From ebe069d37235d46f51eb6f663d020a06156852a0 Mon Sep 17 00:00:00 2001 From: Eyal En Gad <36604865+eengad@users.noreply.github.com> Date: Tue, 10 Mar 2026 15:35:20 -0700 Subject: [PATCH] fix: allow modified Enter send in narrow layouts (#631) --- packages/ui/src/components/chat/ChatInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/components/chat/ChatInput.tsx b/packages/ui/src/components/chat/ChatInput.tsx index 0260c474..3ece1b5c 100644 --- a/packages/ui/src/components/chat/ChatInput.tsx +++ b/packages/ui/src/components/chat/ChatInput.tsx @@ -1054,7 +1054,7 @@ export const ChatInput: React.FC = ({ onOpenSettings, scrollToBo } // Handle Enter/Ctrl+Enter based on queue mode - if (e.key === 'Enter' && !e.shiftKey && !isMobile) { + if (e.key === 'Enter' && !e.shiftKey && (!isMobile || e.ctrlKey || e.metaKey)) { e.preventDefault(); const isCtrlEnter = e.ctrlKey || e.metaKey;