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

Scroll events not fired when using Chrome devtools device mode #422

Open
Splinteer opened this issue Jun 4, 2023 · 0 comments
Open

Scroll events not fired when using Chrome devtools device mode #422

Splinteer opened this issue Jun 4, 2023 · 0 comments

Comments

@Splinteer
Copy link

Splinteer commented Jun 4, 2023

I'm on Angular 16 with the 16th version of the package.
I was on Angular 14 but upgraded my app to match the latest version of the ngx-infinite-scroll package.

The issue is happening on the 14, 15 and 16 versions.

Here is my script:

<div
  class="grid"
  infiniteScroll
  [infiniteScrollDistance]="1"
  [infiniteScrollThrottle]="2"
  (scrolled)="onScroll()"
>
  <h1 *ngIf="!shop" translate>FLASH.LIST.title_shop</h1>
  <app-flash-item
    [flash]="flash"
    *ngFor="let flash of flashs$ | async; trackBy: trackByIdx"
  >
  </app-flash-item>
</div>

It is working without using the device mode

@Splinteer Splinteer changed the title Scroll events not fired when using Chrome devtools device mod Scroll events not fired when using Chrome devtools device mode Jun 4, 2023
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