Skip to content

Commit

Permalink
Merge branch 'master' into sstoychev/groupingstrategy-master
Browse files Browse the repository at this point in the history
  • Loading branch information
dkamburov authored Nov 1, 2021
2 parents 945a7f8 + ab76218 commit 8b14030
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,11 @@ export class IgxExcelStyleSearchComponent implements AfterViewInit, OnDestroy {
if (this.list && this.esf.listData.length) {
return this.list.element.nativeElement.offsetHeight;
}

// GE Nov 1st, 2021 #10355 Return a numeric value, so the chunk size is calculated properly.
// If we skip this branch, on applying the filter the _calculateChunkSize() method off the ForOfDirective receives
// an igxForContainerSize = undefined, thus assigns the chunkSize to the igxForOf.length which leads to performance issues.
return 0;
}

/**
Expand Down

0 comments on commit 8b14030

Please sign in to comment.