Skip to content

Bug: 2×2 table multi-cell selection misses last cell #8079

@aldoprogrammer

Description

@aldoprogrammer

Demo
Lexical playground version: latest

Steps To Reproduce

  1. Insert a 2×2 table.
  2. Drag-select the first column from top to bottom — both cells are selected ✅.
  3. Drag-select the second column from top to bottom — only the bottom cell is selected, the top cell is ignored ❌.

Link to code example: Lexical Playground

The current behavior

  • Selecting the first column works correctly (both cells selected).
  • Selecting the second column notice that top and bottom cell is ignored.

The expected behavior

  • Drag-selecting any column should consistently select all cells in that column.

Impact of fix

  • Prevents inconsistent table selection.
  • Critical for copy/paste, formatting, and other multi-cell table operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    tablesRelates to Lexical Tables

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions