Skip to content

Commit a0f9250

Browse files
authored
Merge branch '8.2.x' into mdragnev/fix-5126-8.2.x
2 parents 7036d04 + ae8b049 commit a0f9250

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
@@ -1177,6 +1177,9 @@ export class IgxForOfDirective<T> implements OnInit, OnChanges, DoCheck, OnDestr
11771177
this.scrollComponent.size = this._calcHeight();
11781178
if ( this.scrollComponent.size <= parseInt(this.igxForContainerSize, 10)) {
11791179
this.scrollPosition = 0;
1180+
// Need to reset the scrollAmount value here, because
1181+
// Firefox will not fire the scrollComponent scroll event handler
1182+
this.scrollComponent.scrollAmount = 0;
11801183
}
11811184
}
11821185
if (scrollable !== this.isScrollable()) {

0 commit comments

Comments
 (0)