Skip to content

Commit 18ca424

Browse files
authored
fix(igxGrid): Use default scheduler when throttling. (#15884)
1 parent 3a1c7c4 commit 18ca424

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
@@ -3813,7 +3813,7 @@ export abstract class IgxGridBaseDirective implements GridType,
38133813

38143814
// notifier for column autosize requests
38153815
this._autoSizeColumnsNotify.pipe(
3816-
throttleTime(0, animationFrameScheduler, { leading: false, trailing: true }),
3816+
throttleTime(0, this.platform.isBrowser ? animationFrameScheduler : undefined, { leading: false, trailing: true }),
38173817
destructor
38183818
)
38193819
.subscribe(() => {

0 commit comments

Comments
 (0)