tweak virtual list

This commit is contained in:
Nolan Lawson 2018-01-16 09:10:24 -08:00
parent 163f55875d
commit e6e84e9079
1 changed files with 1 additions and 1 deletions

View File

@ -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