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

Feature request: Virtual scrolling for nz-select #3497

Closed
lurenjiakang1 opened this issue May 27, 2019 · 2 comments
Closed

Feature request: Virtual scrolling for nz-select #3497

lurenjiakang1 opened this issue May 27, 2019 · 2 comments
Assignees
Milestone

Comments

@lurenjiakang1
Copy link

lurenjiakang1 commented May 27, 2019

What problem does this feature solve?

数据量大时候,页面渲染会卡顿

What does the proposed API look like?

类似于table对virtual scroll的支持

@ng-zorro-bot
Copy link
Collaborator

Translation of this issue:


ng-select Hope to support virtual scroll

What problem does this feature solve?

When the amount of data is large, the page rendering will be stuck.

What does the proposed API look like?

Similar to table support for virtual scroll

@vthinkxie vthinkxie changed the title ng-select 希望能支持 virtual scroll Feature request: Virtual scrolling for nz-select Oct 10, 2019
@vthinkxie
Copy link
Member

vthinkxie commented Oct 10, 2019

I think the key problem is not the virtual scrolling, if there are too many options, you should implement either a frontend search or backend search api
here is the demo
https://stackblitz.com/edit/angular-tbtx1t?file=src/app/app.component.ts

@vthinkxie vthinkxie added this to the 9.0.0 milestone Feb 25, 2020
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this issue Apr 9, 2020
@hsuanxyz hsuanxyz mentioned this issue Apr 15, 2020
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants