-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Bug: Inconsistent column selection in tables (first cell skipped except last column) #8080
Copy link
Copy link
Closed
Labels
tablesRelates to Lexical TablesRelates to Lexical Tables
Description
Demo
Lexical version: latest
Steps To Reproduce
- Insert a 5×5 table.
- Select the first column from top to bottom — all cells selected ✅.
- Select the second column from top to bottom — the first cell is not selected, the rest are.
- Select the third and fourth columns — first cell not selected, rest are.
- Select the fifth (last) column — all cells selected ✅.
- Go back to the first column — now the first cell fails to select, rest are selected.
Link to code example: Lexical Playground
The current behavior
- Only the last column consistently selects all cells.
- Middle columns (2–4) never select the first cell after interacting with other columns.
- First column works initially, but fails after selecting other columns.
The expected behavior
- All columns should allow selecting all cells from top to bottom, consistently.
Impact of fix
- Selection behavior in tables is inconsistent and can break multi-column operations.
- Fixing this benefits anyone working with tables in Lexical (copy/paste, formatting, merging, etc.).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
tablesRelates to Lexical TablesRelates to Lexical Tables