facebook / lexical

Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.
https://lexical.dev
MIT License
19.98k stars 1.7k forks source link

Bug: [lexical-table] Dragging over the table-cell-action-button interferes with selection #6820

Closed etrepum closed 1 day ago

etrepum commented 1 week ago

Lexical version: 0.20

Steps To Reproduce

  1. Create a table
  2. Focus a cell so that the table-cell-action-button shows
  3. Drag to create a selection but make sure the mouse moves over the table-cell-action-button

The current behavior

https://github.com/user-attachments/assets/186d58f0-d870-4c51-af25-3f07f874f40f

The expected behavior

Selection behaves as if the button was not there

Impact of fix

Confusing behavior for anyone using the TableActionMenuPlugin (currently playground-only, but many people just copy this code).