update readme

This commit is contained in:
Ed McConnell
2024-12-14 10:42:28 -05:00
parent 5cb693c415
commit 483189ab46
3 changed files with 5 additions and 4 deletions

View File

@@ -425,15 +425,17 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
}
event.preventDefault();
if (isStreaming) {
handleStop?.();
return;
}
// ignore if using input method engine
if (event.nativeEvent.isComposing) {
return
return;
}
handleSendMessage?.(event);
}
}}