diff --git a/packages/webui/components/chatbot-sidebar.tsx b/packages/webui/components/chatbot-sidebar.tsx index 1ea59014..73ddabeb 100644 --- a/packages/webui/components/chatbot-sidebar.tsx +++ b/packages/webui/components/chatbot-sidebar.tsx @@ -61,6 +61,8 @@ export function ChatbotSidebar({ projectId, contextAssetId }: ChatbotSidebarProp } const handleKeyDown = (e: React.KeyboardEvent) => { + if (e.nativeEvent.isComposing) return + if (e.key === 'Enter' && !e.shiftKey) { e.preventDefault() handleSend()