Skip to content

Abnormal behavior when inputting Chinese in the input of void element #5840

Open
@Guan-Erjia

Description

@Guan-Erjia

Description

When I inputting Chinese in the input of void element
It will insertText on onCompositionend at the previous cursor position
Can reproduce it in this embeds example

It can link to
官网嵌入式示例输入中文显示异常

Steps
To reproduce the behavior:

  1. Click editable area, and make cursor focus
  2. Focus input and input Chinese Pinyin
  3. It will alse insert text in the previous cursor

Expectation
Only insert text in the input

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions