diff --git a/src/ScrollBox.ts b/src/ScrollBox.ts index aa50c271..0ed54706 100644 --- a/src/ScrollBox.ts +++ b/src/ScrollBox.ts @@ -557,6 +557,9 @@ export class ScrollBox extends Container this._dimensionChanged = false; } else this.updateVisibleItems(); + + this.lastScrollX = null; + this.lastScrollY = null; } protected onMouseScroll(event: WheelEvent): void