When using both useResizeColumns and useSortBy like Examples in Documentation, Drag 'resizer' will trigger Header click events and do sort every time. Bubbling?
Drag 'resizer' to resize column, NO SORT.
You can solve this problem by taking different elements for header content on which you apply sort props and a sibling to it which applies resize props, something like https://codesandbox.io/s/tannerlinsleyreact-table-column-resizing-jel1b can help you.
鈽濓笍 Well said. Apply the props to different elements.
@tannerlinsley Maybe this should be mentioned in the docs, but I'm not sure where exactly. I had to search the issues to find this information.
I did not see resize working in this link: https://codesandbox.io/s/tannerlinsleyreact-table-column-resizing-jel1b
but it is working on my component. Thanks @gargroh
Most helpful comment
You can solve this problem by taking different elements for
header contenton which you applysort propsand a sibling to it which appliesresize props, something like https://codesandbox.io/s/tannerlinsleyreact-table-column-resizing-jel1b can help you.