Fixed #4803 - VirtualScroller: getRenderedRange viewport calculation is broken

pull/4956/head
tugcekucukoglu 2023-12-11 16:27:52 +03:00
parent c4a7af7b05
commit 86a8e3d85c
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ export default {
if (this.element) {
const both = this.isBoth();
const horizontal = this.isHorizontal();
const { scrollTop, scrollLeft } = this.element.scrollTop;
const { scrollTop, scrollLeft } = this.element;
if (both) {
firstInViewport = { rows: calculateFirstInViewport(scrollTop, this.itemSize[0]), cols: calculateFirstInViewport(scrollLeft, this.itemSize[1]) };