Skip to content

Commit ea360a4

Browse files
authored
Merge branch 'master' into nrobakova/fix-tests-errors
2 parents 999f265 + 07c9533 commit ea360a4

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

+3
Original file line numberDiff line numberDiff line change
@@ -1176,6 +1176,9 @@ export class IgxForOfDirective<T> implements OnInit, OnChanges, DoCheck, OnDestr
11761176
this.scrollComponent.size = this._calcHeight();
11771177
if ( this.scrollComponent.size <= parseInt(this.igxForContainerSize, 10)) {
11781178
this.scrollPosition = 0;
1179+
// Need to reset the scrollAmount value here, because
1180+
// Firefox will not fire the scrollComponent scroll event handler
1181+
this.scrollComponent.scrollAmount = 0;
11791182
}
11801183
}
11811184
if (scrollable !== this.isScrollable()) {

0 commit comments

Comments
 (0)