lexical icon indicating copy to clipboard operation
lexical copied to clipboard

Bug: Table add-row button hides horizontal scroll

Open ebads67 opened this issue 8 months ago • 3 comments

The add-row button covers the table horizontal scroll, makes it hard to scroll using a mouse.

Lexical version:

Steps To Reproduce

  1. Create a table with many columns so that the horizontal scroll appears
  2. Try to use the horizontal scroll using the mouse
  3. The add-row button appears when the mouse nears the bottom of the table and hides the horizontal scroll.

Image

ebads67 avatar Aug 11 '25 11:08 ebads67

I looked into this one some time ago. The solution is with IntersectionObserver. We already have an Observer in the Table Hover Actions plugin. We need to introduce this one as well.

ivailop7 avatar Aug 11 '25 17:08 ivailop7

Image

Wouldn't it be a quicker solution to simply add more pixels to the top value of the 'Add row' button?

Image

harshmetkel24 avatar Aug 24 '25 10:08 harshmetkel24

Image

Wouldn't it be a quicker solution to simply add more pixels to the top value of the 'Add row' button?

Image

This only works if the textarea is not 100% of the vertical screen real estate.

ivailop7 avatar Aug 24 '25 16:08 ivailop7