-
-
Notifications
You must be signed in to change notification settings - Fork 50.5k
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 sorter gets stuck when render function is present on column #12737
Comments
afc163
added
🐛 Bug
Ant Design Team had proved that this is a bug.
and removed
🐛 Bug
Ant Design Team had proved that this is a bug.
labels
Oct 20, 2018
Just move columns outside render: https://codepen.io/anon/pen/JmZRXp?editors=0010 |
@afc163 I'm facing the same issue. Moving it outside render function fixed the issue. But there are cases where props change and columns filers may change. Moving outside doesn't work in that situation |
@gijo-varghese In that case, you can use controlled mode to manually set the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
3.10.1
Environment
MacOS / Google Chrome Version 69.0.3497.100 (Official Build) (64-bit)
Reproduction link
https://codepen.io/anon/pen/YJvXrw
Steps to reproduce
Edit: This only seems to happen to the sort state when columns are inside render, so I believe it's related to #12571.
What is expected?
Sort should toggle from ascend/descend/none.
What is actually happening?
Sorter gets stuck on descending sort.
The text was updated successfully, but these errors were encountered: