-
-
Notifications
You must be signed in to change notification settings - Fork 49k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table 表格头有排序以及 Resizable 时,拖拽缩放时 mouseup 将会触发 cell 的 sort #14647
Comments
Update the demo: https://codesandbox.io/s/zrj8xvyzxx |
it is not work.. |
@AlwaysBeOk, thanks for notice. Update the demo. Pls check. |
What is the principle? |
table use |
上面的例子中需要修改下这里: if (!width) {
// return <th {...restProps} />;
return <th {...restProps} onClick={onClick} />;
} 否则会出现未设置 |
@zombieJ |
done |
Reproduction link
Steps to reproduce
拖拽表格头的大小,在表格头上释放鼠标,会触发 sort
What is expected?
拖拽释放鼠标 不会触发 sort
What is actually happening?
触发了 sort
The text was updated successfully, but these errors were encountered: