Skip to content
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

The Select component enables virtual scrolling, 10w data, the input content matches, the input content response is very busy, and it is easy to get stuck #5365

Closed
1 task
wsxe9988 opened this issue Mar 19, 2022 · 10 comments

Comments

@wsxe9988
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.1.0-rc.2

Environment

chrome 94.0.4606.54

Reproduction link

https://next.antdv.com/components/select-cn

Steps to reproduce

1.点击控件
2.键盘输入内容,控件里内容出现卡顿,页面容易无响应

What is expected?

键盘输入内容,控件里内容不出现卡顿

What is actually happening?

键盘输入内容,控件里内容出现卡顿,页面容易无响应

@github-actions github-actions bot changed the title Select 组件 开启虚拟滚动,10w数据,输入内容匹配,输入的内容响应很忙,容易卡死 The Select component enables virtual scrolling, 10w data, the input content matches, the input content response is very busy, and it is easy to get stuck Mar 19, 2022
tangjinzhou added a commit that referenced this issue Mar 20, 2022
@tangjinzhou
Copy link
Member

还有空间,你可以试着帮助我们优化,谢谢

@github-actions
Copy link

Hello @wsxe9988. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please send your Pull Request to proper branch, fill the Pull Request Template here, provide changelog/TypeScript/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!

你好 @wsxe9988,我们完全同意你的提议/反馈,欢迎直接在此仓库创建一个 Pull Request 来解决这个问题。请将 Pull Request 发到正确的分支,务必填写 Pull Request 内的预设模板,提供改动所需相应的 changelog、TypeScript 定义、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。

@wsxe9988
Copy link
Author

试了下刚发布的RC3,Select组件 虚拟滚动下,10W数据,搜索无卡顿了。金州大大,你说还有优化空间?

@huangche007
Copy link

@wsxe9988 我使用3.1.0-rc.2版本,对于大量数据(其实也就三千条左右),使用TreeSelect组件进行多选操作的时候,还是会比较卡

@huangche007
Copy link

@tangjinzhou 想问下大佬,ant-design-vue 3的稳定正式版大约什么时候能发布?

@wsxe9988
Copy link
Author

@wsxe9988 我使用3.1.0-rc.2版本,对于大量数据(其实也就三千条左右),使用TreeSelect组件进行多选操作的时候,还是会比较卡

你更新到最新版。官网上是最新的,10万条数据确实不卡顿,搜索也已经不卡顿了

@huangche007
Copy link

@wsxe9988 好的,我有空更新到最新版看下最新的效果

@huangche007
Copy link

@wsxe9988 关键是涉及到TreeSelect这种多选(取消多选),然后又滚动。就会很卡了

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions
Copy link

github-actions bot commented Jun 7, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants