facebook / lexical

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

TODO: Add a test for mouse leaving browser window during table selection #5928

Open AlexanderReznik opened 3 weeks ago

AlexanderReznik commented 3 weeks ago

A bug with the page not scrolling is fixed in https://github.com/facebook/lexical/pull/5919 table-selection-scroll

Add a test to prevent regression

Steps to reproduce the bug before the fix:

  1. Add a table with many rows so that it goes beyond the visible window
  2. Mouse down on one of the cells close to the bottom of the window
  3. Quickly move the mouse beyond the bottom window border

Result: The window is not scrolled Expected result: The window is scrolled allowing selection of the table

StyleT commented 2 weeks ago

Possible solution here: https://github.com/microsoft/playwright/issues/19203