Skip to content

Commit db23777

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Fix timing issue between activation and drag selection.
1 parent 5d2a5ce commit db23777

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3897,7 +3897,10 @@ export abstract class IgxGridBaseDirective implements GridType,
38973897
this._firstAutoResize = false;
38983898
});
38993899

3900-
this.activeNodeChange.pipe(filter(() => !this._init), destructor).subscribe(() => {
3900+
this.activeNodeChange.pipe(
3901+
throttleTime(0, this.platform.isBrowser ? animationFrameScheduler : undefined, { leading: false, trailing: true }),
3902+
destructor
3903+
).subscribe(() => {
39013904
this._activeRowIndexes = null;
39023905
if (this.hasCellsToMerge) {
39033906
this.refreshSearch();

0 commit comments

Comments
 (0)