Merge pull request #17085 from ShirasawaSama/patch-10

fix: fix event binding for composition end in MessageInput
This commit is contained in:
Tim Jaeryang Baek 2025-09-01 02:10:04 +04:00 committed by GitHub
commit 3d2fcef28f
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;
}} }}