Skip to content

Commit d2ad25b

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Fix issue with incorrect size cache beign used when initializing new dimension virtualization when scrolled.
1 parent b8b860e commit d2ad25b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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
@@ -1625,7 +1625,7 @@ export class IgxGridForOfDirective<T> extends IgxForOfDirective<T> implements On
16251625
}
16261626

16271627
protected initSizesCache(items: any[]): number {
1628-
if (!this.syncService.isMaster(this)) {
1628+
if (!this.syncService.isMaster(this) && this.igxForScrollOrientation === 'horizontal') {
16291629
const masterSizesCache = this.syncService.sizesCache(this.igxForScrollOrientation);
16301630
return masterSizesCache[masterSizesCache.length - 1];
16311631
}

src/app/pivot-grid/pivot-grid.sample.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export class PivotGridSampleComponent {
158158
{
159159
memberName: 'SellerName',
160160
enabled: true,
161-
filter: this.filterExpTree
161+
//filter: this.filterExpTree
162162
}
163163
]
164164
};

0 commit comments

Comments
 (0)