Skip to content

Commit a044c15

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Additional fix.
1 parent a84cff8 commit a044c15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/directives/for-of/for_of.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1638,7 +1638,7 @@ export class IgxGridForOfDirective<T> extends IgxForOfDirective<T> implements On
16381638
const count = this.isRemote ? this.totalItemCount : items.length;
16391639
for (i; i < count; i++) {
16401640
size = this.getItemSize(items[i]);
1641-
if (this.itemsDimension === 'height') {
1641+
if (this.igxForScrollOrientation === 'vertical') {
16421642
this.heightCache.push(size);
16431643
}
16441644
totalSize += size;

0 commit comments

Comments
 (0)