Skip to content

Commit 9bda69b

Browse files
committed
chore(forof): Make sure if size cache is unique (pivot headers) that sync service master is correct
1 parent 608544c commit 9bda69b

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
@@ -1626,7 +1626,7 @@ export class IgxGridForOfDirective<T, U extends T[] = T[]> extends IgxForOfDirec
16261626
}
16271627
if (this.igxForScrollOrientation === 'horizontal') {
16281628
// in case collection has changes, reset sync service
1629-
this.syncService.setMaster(this, false);
1629+
this.syncService.setMaster(this, this.igxGridForOfUniqueSizeCache);
16301630
}
16311631
}
16321632
const defaultItemSize = 'igxForItemSize';

0 commit comments

Comments
 (0)