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

Bug when scroll up #492

Open
Saulmarti opened this issue May 7, 2021 · 0 comments
Open

Bug when scroll up #492

Saulmarti opened this issue May 7, 2021 · 0 comments

Comments

@Saulmarti
Copy link

When I scroll down everything is perfect and fluid, however the moment I scroll up it loads all the items and the events stop working.

Sequence  3

<virtual-scroller class="w-100 h-100" #scroll [items]="estrenos" (vsEnd)="loadData($event,'estrenos')">
         <app-portada class="col-6 p-1 d-inline-block" *ngFor="let item of scroll.viewPortItems" [rout]='"s"' [seccion]='"estrenos"'></app-portada>
</virtual-scroller>

The data is loaded 10 by 10 from a call to an api.
Does anyone have any idea why it might be?

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant