From d0416e8baafaee4147f93c1598c9a78551ade334 Mon Sep 17 00:00:00 2001 From: Ryota Takeuchi Date: Mon, 13 Jan 2025 15:54:05 +0900 Subject: [PATCH] fix: Handle Enter key event for IME inputs --- src/ui/EditTask.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/EditTask.svelte b/src/ui/EditTask.svelte index 14e1602897..1648ba32ca 100644 --- a/src/ui/EditTask.svelte +++ b/src/ui/EditTask.svelte @@ -127,7 +127,7 @@ }; const _onDescriptionKeyDown = (e: KeyboardEvent) => { - if (e.key === 'Enter') { + if (e.key === 'Enter' && !e.isComposing) { e.preventDefault(); if (formIsValid) _onSubmit(); }