We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5be4cc1 + 55117ec commit 659d001Copy full SHA for 659d001
apps/postgres-new/components/chat.tsx
@@ -506,7 +506,7 @@ export default function Chat() {
506
return
507
}
508
509
- if (e.key === 'Enter' && !e.shiftKey) {
+ if (e.key === 'Enter' && !e.shiftKey && !e.nativeEvent.isComposing) {
510
e.preventDefault()
511
if (!isLoading && isSubmitEnabled) {
512
handleFormSubmit(e)
0 commit comments