You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but after target.scrollTop = 48; (for example)
target.scrollTop still value 0 since there is no scroll (no scroll because there are few elements).
So when the function return target.scrollTop, returns 0 instead of returning 48.
It would be needed to check first if target.scrollTop can be set or not
Under circumstances mentioned in the title, when
_resetIndexis executed, a call to setScrollTop is made(1268)
this._scrollTop = this.setScrollTop(this._aboveSize + (index / this._rowFactor) * this._physicalAverage);At this moment this._scrollTop has to be set with a at least aboveSize.
(520)
but after
target.scrollTop = 48;(for example)target.scrollTop still value 0 since there is no scroll (no scroll because there are few elements).
So when the function return target.scrollTop, returns 0 instead of returning 48.
It would be needed to check first if target.scrollTop can be set or not