Skip to content

Bug: TableExtension drag selection stops after selecting two cells #8491

@chansyawn

Description

@chansyawn

Lexical version: 0.44.0

Steps To Reproduce

  1. Open the reproduction link.
  2. In the Extension-based editor, drag from one table cell across several adjacent cells.
  3. Observe that the selection stops after about 2 cells.
  4. Try the same interaction in the Plugin-based editor.
2026-05-10.21.47.11.mov

Link to code example:

https://stackblitz.com/edit/vitejs-vite-xisibnts?file=src%2Fmain.tsx

The current behavior

With TableExtension + LexicalExtensionComposer, table cell drag selection is interrupted after about 2 cells.

With the equivalent LexicalComposer + TablePlugin setup, dragging across multiple cells works correctly.

This appears to be specific to the Extension API.

The expected behavior

TableExtension should behave the same as TablePlugin.

Dragging across table cells should continuously extend the table selection until the pointer is released.

Impact of fix

This affects editors using the Extension API with tables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    extensionRelated to Lexical Extension (@lexical/extension)tablesRelates to Lexical Tables

    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