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: When typing, contents of the previous Node are inserted into the editor (Android, Gboard) #4636

Open
sodenn opened this issue Jun 11, 2023 · 1 comment

Comments

@sodenn
Copy link

sodenn commented Jun 11, 2023

On Android devices, when typing a word character after a TextNode or DecoratorNode, parts of the previous Node are inserted into the editor:

Lexical version: 0.11.1

Steps To Reproduce

  1. Open Lexical Playground in Chrome for Android
  2. Add a mention by typing @a and select the first suggestion
  3. Continue typing a word character, e.g. a

The current behavior

The last word of the previous LexicalNode is inserted into the editor.

The expected behavior

No content of the previous LexicalNode should be inserted into the editor.

@xiaoosnggao
Copy link

I also have the same problem

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

2 participants