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
About Transfer component performance issues #9703
Comments
Hello @hqwlkj. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro. Issues labeled by |
Hello @afc163 Please check this link https://codesandbox.io/s/rjvv4qk6yn, Large amount of data, the operation is very cautious, it is recommended to optimize. |
@yesmeck https://codesandbox.io/s/rjvv4qk6yn, Reproduce address |
数据大,还是会卡,复现demo:https://codesandbox.io/s/upbeat-brown-5qkm9 |
Hi @afc163 Thank-you for pointing to this issue in #30158 You have to go to line number 129 and set perfMode to true. However, I am not able to setup some of the default behavior of transfer component like selectAll, individual item select etc. Once again I would like to thank-you for your quick guidance. Kind Regards, |
Transfer perfermance has been improved in #39465, also you can try this method of #40040 . See https://codesandbox.io/s/pensive-kate-8nsiu1?file=/index.js |
Version
3.3.0
Environment
Operating system: macOS high Sierra, browser: Safari browser, version 11.0.3 (13604.5.6), react:^16.2.0
Reproduction link
https://ant.design/components/transfer/
Steps to reproduce
When the amount of data is greater than 2,000, the UI rendering is slow and very fast.
What is expected?
It is recommended to optimize
What is actually happening?
The text was updated successfully, but these errors were encountered: