Skip to content

Bug: Table cell selection triggers unexpectedly on touch inputs #7650

@circlingthesun

Description

@circlingthesun

Lexical version: v0.32.1

Steps To Reproduce

  1. Open lexical playground on any mobile device or mobile device emulator on Chrome
  2. Insert a table
  3. Click in any cell
  4. Click in any other cell
  5. The cells between them are now selected
Screen.Recording.2025-06-25.at.21.06.08.mov

Link to code example:

The current behavior

A cell selection is triggered every time a the cursor is moved from one cell to another

The expected behavior

Being able to move my cursor without selecting table cells.

Impact of fix

It makes the table component usable on mobile

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions