Skip to content

Commit 107b910

Browse files
committed
Merge branch 'valadzhov/toast-position-not-working-10305-master' of https://github.com/IgniteUI/igniteui-angular into valadzhov/toast-position-not-working-10305-master
2 parents a085337 + 45a2847 commit 107b910

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

projects/igniteui-angular/src/lib/grids/filtering/excel-style/excel-style-search.component.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,11 @@ export class IgxExcelStyleSearchComponent implements AfterViewInit, OnDestroy {
247247
if (this.list && this.esf.listData.length) {
248248
return this.list.element.nativeElement.offsetHeight;
249249
}
250+
251+
// GE Nov 1st, 2021 #10355 Return a numeric value, so the chunk size is calculated properly.
252+
// If we skip this branch, on applying the filter the _calculateChunkSize() method off the ForOfDirective receives
253+
// an igxForContainerSize = undefined, thus assigns the chunkSize to the igxForOf.length which leads to performance issues.
254+
return 0;
250255
}
251256

252257
/**

0 commit comments

Comments
 (0)