We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a92568 commit c81afadCopy full SHA for c81afad
src/virtual-repeat.js
@@ -423,6 +423,7 @@ export class VirtualRepeat extends AbstractRepeater {
423
}, 500);
424
return;
425
}
426
+ this._itemsLength = itemsLength;
427
this.scrollContainerHeight = this._fixedHeightContainer ? this._calcScrollHeight(this.scrollContainer) : document.documentElement.clientHeight;
428
this.elementsInView = Math.ceil(this.scrollContainerHeight / this.itemHeight) + 1;
429
this._viewsLength = (this.elementsInView * 2) + this._bufferSize;
0 commit comments