mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-23 11:17:02 +00:00
fix: handle conflicts between input method engine and enter key
This commit is contained in:
parent
8c7a9f750f
commit
b0ca49d65e
@ -431,7 +431,9 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
handleSendMessage?.(event);
|
if (!event.nativeEvent.isComposing) {
|
||||||
|
handleSendMessage?.(event);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
value={input}
|
value={input}
|
||||||
|
Loading…
Reference in New Issue
Block a user