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

Virtual Scroll on long lists #804

Closed
danielgolub opened this issue Jul 2, 2016 · 2 comments
Closed

Virtual Scroll on long lists #804

danielgolub opened this issue Jul 2, 2016 · 2 comments

Comments

@danielgolub
Copy link

danielgolub commented Jul 2, 2016

Bug, feature request, or proposal:

When there are very long lists, the performance is very poor.
We would like to have an option to do virtual scroll, which will render only the items on the viewport with some offset.

What is the expected behavior?

Make a template directive like NgFor:

<md-list [virtualScroll]="list">
    <md-list-item *virtualItem="let item; let i = index">
            Item {{i}}
    </md-list-item>
</md-list>

What is the current behavior?

None, currently all the list renders with ngFor. So the performance for thousands of items can be very poor

Which versions of Angular, Material, OS, browsers are affected?

All

@jelbourn
Copy link
Member

jelbourn commented Jul 6, 2016

Tracking virtual scrolling via #823

@jelbourn jelbourn closed this as completed Jul 6, 2016
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants