Skip to content

Commit 51875f9

Browse files
authored
Merge branch '8.2.x' into mkirova/fix-6411
2 parents 2f9a7ad + f53ecd9 commit 51875f9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,8 @@ export class IgxForOfDirective<T> implements OnInit, OnChanges, DoCheck, OnDestr
404404
});
405405
const destructor = takeUntil<any>(this.destroy$);
406406
this.contentResizeNotify.pipe(destructor,
407-
filter(() => this.igxForContainerSize && this.igxForOf && this.igxForOf.length > 0), throttleTime(40))
407+
filter(() => this.igxForContainerSize && this.igxForOf && this.igxForOf.length > 0),
408+
throttleTime(40, undefined, {leading: true, trailing: true}))
408409
.subscribe(() => {
409410
this._zone.runTask(() => {
410411
this.updateSizes();

projects/igniteui-angular/src/lib/grids/hierarchical-grid/hierarchical-grid.integration.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ describe('IgxHierarchicalGrid Integration #hGrid', () => {
618618
await wait(30);
619619
fixture.detectChanges();
620620
hierarchicalGrid.verticalScrollContainer.scrollTo(hierarchicalGrid.dataView.length - 1);
621-
await wait(30);
621+
await wait(100);
622622
fixture.detectChanges();
623623

624624
// check last row is loaded and is in view

0 commit comments

Comments
 (0)