Skip to content

Commit 47dfbaf

Browse files
authored
Merge pull request #7438 from IgniteUI/mkirova/fix-7434
fix(igxGrid): Emit last resize from resize observer as well.
2 parents 7a17267 + e581610 commit 47dfbaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2839,7 +2839,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
28392839
}
28402840
});
28412841

2842-
this.resizeNotify.pipe(destructor, filter(() => !this._init), throttleTime(100))
2842+
this.resizeNotify.pipe(destructor, filter(() => !this._init), throttleTime(100, undefined, {leading: true, trailing: true}))
28432843
.subscribe(() => {
28442844
this.zone.run(() => {
28452845
this.notifyChanges(true);

0 commit comments

Comments
 (0)