Skip to content

Bug: Setting text cursor by tapping on a table cell within a single table as the whole content doesn't work reliably on mobile #8538

@zhawzid-ottj

Description

@zhawzid-ottj

Lexical version: 0.44 together with @lexical/table

Steps To Reproduce

  1. make sure that only one single table is the whole content, all cells are empty.
  2. try to set text cursor using mobile (I used mobile emu with chrome) by tapping on different table cells

My test setup is a 3x3 empty table only, I'm unable to tap into the center cell if there's nothing but the table and no parts of the table are selected. I used Android (Pixel 10 Pro) with the latest Chrome and Windows+Desktop Chrome in mobile emulation mode.

Link to example:

https://stackblitz.com/github/facebook/lexical/tree/main/examples/react-table?file=README.md

make sure that content is one single table only!

The current behavior

setting text cursor by tapping into another cell table doesn't work reliably..

The expected behavior

setting text cursor by tapping on a table cell should work even if there's only one single table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions