tweak virtual list
This commit is contained in:
parent
163f55875d
commit
e6e84e9079
|
@ -12,7 +12,7 @@ const virtualListStore = new VirtualListStore({
|
|||
virtualListStore.compute('visibleItems',
|
||||
['items', 'scrollTop', 'height', 'itemHeights', 'innerHeight'],
|
||||
(items, scrollTop, height, itemHeights, innerHeight) => {
|
||||
let renderBuffer = 2 * innerHeight
|
||||
let renderBuffer = 1.5 * innerHeight
|
||||
let visibleItems = []
|
||||
let totalOffset = 0
|
||||
let len = items.length
|
||||
|
|
Loading…
Reference in a new issue