fix: fix event binding for composition end in MessageInput

This commit is contained in:
Shirasawa authored and GitHub committed 2025-09-01 04:49:06 +08:00
1 parent b45219c8b1
commit 5037197541
1 file changed
+1 -1
+1 -1
View File
@@ -1407,7 +1407,7 @@
command = getCommand(); command = getCommand();
}} }}
on:compositionstart={() => (isComposing = true)} on:compositionstart={() => (isComposing = true)}
oncompositionend={(e) => { on:compositionend={(e) => {
compositionEndedAt = e.timeStamp; compositionEndedAt = e.timeStamp;
isComposing = false; isComposing = false;
}} }}