regular-table icon indicating copy to clipboard operation
regular-table copied to clipboard

X-coordinates larger than available columns

Open yasmanets opened this issue 1 year ago • 2 comments

Support Question

Hello,

I would like to know if the following behavior is correct:

If I scroll very quickly to the right, at some point the table's dataListener is requesting X coordinates (columns) larger than the number of columns provided to the table.

For example: in my table, there are 40 columns, and when I scroll quickly to the right, there is a moment when the table requests position 46 (x1), even though the maximum value should be 40.

Image

Thanks

yasmanets avatar Jan 21 '25 11:01 yasmanets

This is likely due to your browser's scroll inertia, which draws a little bounce animation when you scroll fast at the edge of the viewport. This is probably something we can fix, let me look.

You can try overscroll-behavior CSS rule to disable this as a workaround.

texodus avatar Feb 04 '25 22:02 texodus

Perfect.

Thank you for your reply.

yasmanets avatar Feb 14 '25 11:02 yasmanets