Closed eldhose-cavli closed 4 years ago
Hi how u resolved this issue?
<div class="search-results" style="height:100%;overflow-y:auto;" infiniteScroll [infiniteScrollDistance]="2" [infiniteScrollThrottle]="50" [fromRoot]="false" [scrollWindow]="false" (scrolled)="onScroll()"> <button *ngFor="let item of List ; trackBy:trackByFn" > </button> </div>
Adding the style resolved your issue?
<div class="search-results" infiniteScroll [infiniteScrollDistance]="2" [infiniteScrollThrottle]="50" [fromRoot]="false" (scrolled)="onScroll()"> <button *ngFor="let data of result " > </button> </div>