Merge branch 'FlowiseAI:main' into bug/ChatInput

This commit is contained in:
Vikram Segta
2023-07-06 10:33:05 +05:30
committed by GitHub
122 changed files with 4906 additions and 1302 deletions
@@ -163,7 +163,9 @@ export const ChatMessage = ({ open, chatflowid, isDialog }) => {
// Prevent blank submissions and allow for multiline input
const handleEnter = (e) => {
if (e.key === 'Enter' && userInput) {
// Check if IME composition is in progress
const isIMEComposition = e.isComposing || e.keyCode === 229
if (e.key === 'Enter' && userInput && !isIMEComposition) {
if (!e.shiftKey && userInput) {
handleSubmit(e)
}