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 498f71f60c4..d7596ec225e 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 @@ -983,7 +983,7 @@ export class IgxForOfDirective implements OnInit, OnChanges, DoCheck, OnDestr } else { arr.push(item); length = arr.length + 1; - arr.splice(0, 1); + arr.shift(); } if (length > maxLength) { maxLength = length;