Skip to content

Commit 4264b57

Browse files
committed
fix(grid): set value to scrollAmount prop #6369
1 parent b4a0296 commit 4264b57

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,9 @@ export class IgxForOfDirective<T> implements OnInit, OnChanges, DoCheck, OnDestr
329329
this.scrollComponent.nativeElement.scrollLeft = val;
330330
} else if (this.scrollComponent) {
331331
this.scrollComponent.nativeElement.scrollTop = val;
332+
// Need to set value for scrollAmount here, because
333+
// Firefox does not fire the scrollComponent scroll event handler
334+
this.scrollComponent.scrollAmount = val;
332335
}
333336
}
334337

0 commit comments

Comments
 (0)