Resized only for 1 pixel
Thanks for opening an issue!
Please select the type of issue you're reporting. For questions.
- [ ] Bug
- [ ] Feature Request
- [ X] Question
Problem Report
I'm implementing resizable Table of antd following the example shown in the documentation
The difference is that the project is in Typescript and I use functional component and useState
The problem is that technically resizing works, but it moves only one pixel and then drops.
I suspect that MouseMove event listener somehow gets dropped and it finishes the operation.
System Info
Node Version: 13.9.0 Browser: Chrome 83.0.4103.116 OS: Windows 10
I'm having the same problem here if U see the console on dev tools, you will probably see the error "Unable to find node on an unmounted component".
I am also having the same issue, using Typescript and functional components. The resize will move 1 pixel and then I am unable to see the resize cursor on that column header anymore.
I can't diagnose this without something like a codesandbox showing the issue.
@phytter @dzials I came up with this workaround that uses custom eventListeners