fix(editor): Prevent submit when composing with IME on chat textarea (#17179)

This commit is contained in:
nunulk
2025-07-16 18:01:03 +09:00
committed by GitHub
parent e63ae55a0c
commit 5db8bbd126

View File

@@ -144,7 +144,7 @@ async function onSubmit(event: MouseEvent | KeyboardEvent) {
}
async function onSubmitKeydown(event: KeyboardEvent) {
if (event.shiftKey) {
if (event.shiftKey || event.isComposing) {
return;
}