hemengke1997 / use-antd-resizable-header

antd table 表格头列拖拽 hook / React Hook makes antd Table Header resizable.
https://hemengke1997.github.io/use-antd-resizable-header/
MIT License
240 stars 50 forks source link

Header Resizing Issue: Insufficient Adjustment with Mouse #84

Closed mahiraltinkaya closed 3 months ago

mahiraltinkaya commented 7 months ago

Hello, thank you for this valuable library. I am integrating it freshly. I have a small issue. My table consists of 45 columns. I have 5 fixed columns, and I have set widths for all of them. Besides these, there are 10-15 more columns with widths. The problem is when I try to resize a column header by dragging my mouse by 200-300 pixels, the header only enlarges or shrinks by about 50 pixels. As I continue dragging the mouse, this number increases to 60-70 pixels, but it's not working as expected. Sometimes it works perfectly fine, though. Could you provide assistance with this issue? Also, When I narrow the headers, the 'resizable-line' area moves along with the mouse and is visible. However, when I expand them, only the mouse cursor appears as 'ew-resize,' but the 'resizable-line' area is not displayed.

image

bebossi commented 4 months ago

I'm facing the same problem, were you able to fix it?

mahiraltinkaya commented 4 months ago

I'm facing the same problem, were you able to fix it?

Hey bebossi, unfortunately I can't fix it. Therefore, I am using TanStack Table for the solution.

hemengke1997 commented 4 months ago

Please provide online reproduction