Skip to content

Bug: Using AOSP-based keyboards on Android is very broken #5655

Open
@amanharwara

Description

@amanharwara

Lexical version: 0.13.1

Steps To Reproduce

  1. Use an AOSP-based keyboard like OpenBoard or FlorisBoard. Even happens with old versions of Gboard.
  2. Type a few words and make one in the middle formatted differently so that the text node is split into multiple text nodes.
  3. Press around different places

Link to code example:

Happens on the Playground https://playground.lexical.dev

The current behavior

lexical-aosp-keyboards.mp4

You'll notice a space being added wherever you press inside the formatted word, and at the end of the non-formatted word if you press inside those. Occasionally it will also duplicate the word you previously had the cursor in to wherever you press next.

The expected behavior

No extra spaces should be added anywhere and no words should be duplicated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions