#Column drag resizing not matching cursor's movement

8 messages · Page 1 of 1 (latest)

fresh jungle
#

Hello! I am a TanStack table begginer using React. I have implemented a custom resizer handle. I feel confusing that the amount of distance that the mouse is moved does not match the column size. I don't know how to explain it properly, but in the gif you can see that the column ends in a smaller position than it should be, it does not fully follow the cursor...
Is this behaviour customizable?

dusk thicket
#

The demo you’re showing looks to be changing the table size rather than the column size. The movement is likely to do with how tables are rendered and sized up in HTML

fresh jungle
#

I am going to write a simple demo of my table ...

#

Oh dang, I guess that the issue is due to the table having 100% width

#

This issue has been reported multiple times but no one has given a definitive answer or fix 😅