fix: fix event binding for composition end in MessageInput

This commit is contained in:
Shirasawa 2025-09-01 04:49:06 +08:00 committed by GitHub
parent b45219c8b1
commit 5037197541
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;
}} }}