fix(text): preserve committed WebView input

This commit is contained in:
Danila Poyarkov 2026-08-31 17:12:09 +03:00
parent bdccf2dfe7
commit 66c8ae6fa5

View file

@ -88,7 +88,7 @@ export function createTextCompositionHandlers({
resetBlink()
}
function onInput() {
function onInput(event: InputEvent) {
const el = textareaRef.value
if (!el) return
@ -97,7 +97,7 @@ export function createTextCompositionHandlers({
return
}
const text = el.value
const text = el.value || event.data || ''
if (!text) return
if (
skipCommittedInput &&