Closed mainhanu closed 1 year ago
Indeed, view.compositing
is still true when the last change the the composition is applied. You could set a timeout when composing changes come in, to flush them when view.composing
is false, maybe?
Indeed,
view.compositing
is still true when the last change the the composition is applied. You could set a timeout when composing changes come in, to flush them whenview.composing
is false, maybe?
when to flush the change?if last change is by IME composition end, the prev change may be lost?
I use codemirror in a react component, and want to trigger
onChange
props when code changeswhen use IME, I want to trigger
onChange
only when composition end, how can I konw this state.I tried composing,but the value is also
true
when composition end