You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in compositionend event handle:if has keydown during composition,but in last 100ms has no keydown,will ignore insert。
in beforeinput event handle:ignore Editor.deleteBackward and Transforms.select method call,when beforeinput timestamp is less then 100ms after last compositionend event。【when lost focus the beforeinput-deleteContentBackward has no meaning;event.getTargetRanges() is not accurate】
Description
on windows,in chrome, using microsoft ime,when lost focus,the input content will be doubled
Recording
20240518-152547.mp4
Sandbox
https://www.slatejs.org/examples/richtext
Steps
Expectation
the input content not doubled
Environment
Context
when lost focus while composition,chrome will produce two beforeinput event after compositionend event。
the compositionend and beforeinput(insertText) event make the content doubled
The text was updated successfully, but these errors were encountered: