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 showing nothing when scrolled with speed #15208

Open
jagdishjadeja opened this issue Feb 16, 2019 · 3 comments
Open

Virtual scroll showing nothing when scrolled with speed #15208

jagdishjadeja opened this issue Feb 16, 2019 · 3 comments
Labels
area: cdk/scrolling P4 A relatively minor issue that is not relevant to core functions perf This issue is related to performance

Comments

@jagdishjadeja
Copy link

What is the expected behavior?

Virtual scroll should be showing data when scrolled with speed

What is the current behavior?

Virtual scroll showing white screen when scrolled with highspeed

Here is stackblitz of same

StackBlitz starter: https://stackblitz.com/angular/emjbxyqvrll?file=app%2Fcdk-virtual-scroll-overview-example.ts

Is there anything that i should add like some parameters or something ?
and as this is coming in mobile device only so it is possible to solve this ?

problem

@crisbeto
Copy link
Member

This might down to the performance of your device, because it renders consistently for me.

demo

@jagdishjadeja
Copy link
Author

jagdishjadeja commented Feb 18, 2019

It works fine on desktop because of limited speed of scrolling.
but if you look at my screenshot i tested it on mobile device.
where it is not working as expected

@josephperrott josephperrott added P4 A relatively minor issue that is not relevant to core functions perf This issue is related to performance labels Jun 4, 2019
@DaveLomber
Copy link

Try to set some bigger maxBufferPx, so it should improve it for sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: cdk/scrolling P4 A relatively minor issue that is not relevant to core functions perf This issue is related to performance
Projects
None yet
Development

No branches or pull requests

5 participants