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 51cacc1966b..bfa9020a02c 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,