diff --git a/projects/igniteui-angular/src/lib/directives/for-of/for_of.directive.ts b/projects/igniteui-angular/src/lib/directives/for-of/for_of.directive.ts index b0228f01cf3..0f11dad40a9 100644 --- a/projects/igniteui-angular/src/lib/directives/for-of/for_of.directive.ts +++ b/projects/igniteui-angular/src/lib/directives/for-of/for_of.directive.ts @@ -458,9 +458,9 @@ export class IgxForOfDirective implements OnInit, OnChanges, DoCheck, OnDestr * ``` */ public scrollNext() { - const scr = this.igxForScrollOrientation === 'horizontal' ? + const scr = Math.ceil(this.igxForScrollOrientation === 'horizontal' ? this.hScroll.scrollLeft : - this.vh.instance.elementRef.nativeElement.scrollTop; + this.vh.instance.elementRef.nativeElement.scrollTop); const endIndex = this.getIndexAt( scr + parseInt(this.igxForContainerSize, 10), this.sizesCache,