Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Guan-Erjia opened this issue Apr 8, 2025 · 0 comments
Open
Labels

Comments

@Guan-Erjia
Copy link
Contributor

Guan-Erjia commented Apr 8, 2025

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

@Guan-Erjia Guan-Erjia added the bug label Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant