diff --git a/app/components/chat/BaseChat.tsx b/app/components/chat/BaseChat.tsx index 13382ba..0ed6a30 100644 --- a/app/components/chat/BaseChat.tsx +++ b/app/components/chat/BaseChat.tsx @@ -425,12 +425,15 @@ export const BaseChat = React.forwardRef( } event.preventDefault(); - + if (isStreaming) { handleStop?.(); return; } - + // ignore if using input method engine + if (event.nativeEvent.isComposing) { + return + } handleSendMessage?.(event); } }}