vue-virtual-scroll-list icon indicating copy to clipboard operation
vue-virtual-scroll-list copied to clipboard

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

Open jimmyy512 opened this issue 2 years ago • 3 comments

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

jimmyy512 avatar May 14 '22 05:05 jimmyy512

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

ghost avatar Jul 25 '22 09:07 ghost

keeps可以设置大一点

yunxiu425 avatar Aug 31 '22 06:08 yunxiu425

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

Geocld avatar May 19 '23 02:05 Geocld