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?
#Column drag resizing not matching cursor's movement
8 messages · Page 1 of 1 (latest)
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
Hmmmmm the problem is that the "width" html attribute becomes out of sync with the real element width
I am going to write a simple demo of my table ...
Here you have it
Oh dang, I guess that the issue is due to the table having 100% width
https://github.com/TanStack/table/issues/4825#issuecomment-1749665597 this solution is quite good but not perfect
This issue has been reported multiple times but no one has given a definitive answer or fix 😅