Skip to content
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

Bug: during "IME" in Android Chrome, content is consolidated at the node's boundary #6354

Open
dbstpwlsWork32 opened this issue Jun 30, 2024 · 0 comments

Comments

@dbstpwlsWork32
Copy link

dbstpwlsWork32 commented Jun 30, 2024

Lexical version: 0.16.0

Steps To Reproduce

user agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36

KakaoTalk_20240701_024630079.mp4
  1. Move selection to end of paragraph on node's boundary
  2. dispatch "IME" event after a period of time
KakaoTalk_20240701_030007331.mp4
  1. move selection to node's boundary
  2. "IME" event fire

The above bug does not occur on PC.

Link to code example: lexical playground

The expected behavior

If "IME" occurs at a node boundary with certain conditions, it seems to merge the content of the previous node.

Impact of fix

This bug affects most countries where the "composition event" occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant