Bug: during "IME" in Android Chrome, content is consolidated at the node's boundary
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
https://github.com/facebook/lexical/assets/40158734/2945f4f9-c275-4a82-84f6-0459d9ad2a5d
- Move selection to end of paragraph on node's boundary
- dispatch "IME" event after a period of time
https://github.com/facebook/lexical/assets/40158734/b591f7eb-e078-4b74-b028-54e19bf7a9d2
- move selection to node's boundary
- "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.
Hey guys, any update?
any update on this issue? it's happening on inline code as well.
There aren't currently any IME experts actively contributing to Lexical. If this is impacting you, I would highly recommend investigating it yourself and submitting a PR to fix it