tangbc / vue-virtual-scroll-list

⚡️A vue component support big amount data list with high render performance and efficient.
https://tangbc.github.io/vue-virtual-scroll-list
MIT License
4.41k stars 593 forks source link

当高度设定超过1100px时 滚到阶段底部会有空白的问题 #378

Open jimmyy512 opened 2 years ago

jimmyy512 commented 2 years ago

拿官网的范例来测试, https://codesandbox.io/s/live-demo-virtual-list-e1ww1?file=/src/App.vue, 只有把高度改成1200px 而已, 滚到阶段底部会有一小部分留白, 必须要在往下滚一小段,才能触发下个阶段个显示 这部分有解吗? image

ghost commented 2 years ago

你好 解决了吗 我也遇到同样的问题 并且高度小于1100px

yunxiu425 commented 2 years ago

keeps可以设置大一点

Geocld commented 1 year ago

The issue that was identified earlier has not yet been fixed and is still visible in the demo at the following link: https://tangbc.github.io/vue-virtual-scroll-list/#/infinite-loading.

Currently, my suggested solution involves calling this.virtual.handleScroll(offset) to force the list to scroll and display new data. Although configuring the keeps setting can rectify the issue with rendering new data, in my opinion, doing so defeats the purpose of using a virtual list in the first place.

image