diff --git a/routes/_components/VirtualList.html b/routes/_components/VirtualList.html index 89c02d57..8bbee0e1 100644 --- a/routes/_components/VirtualList.html +++ b/routes/_components/VirtualList.html @@ -24,13 +24,11 @@ export default { oncreate () { this.observe('innerHeight', throttle(innerHeight => { - //console.log('setting innerHeight', innerHeight) this.store.set({ innerHeight: innerHeight }) }, THROTTLE_TIME)) this.observe('items', (items) => { - //console.log('setting items') this.store.set({ 'items': items }) diff --git a/routes/_components/VirtualListItem.html b/routes/_components/VirtualListItem.html index 519a9e31..8f8897f3 100644 --- a/routes/_components/VirtualListItem.html +++ b/routes/_components/VirtualListItem.html @@ -15,7 +15,6 @@ export default { oncreate() { - 'VirtualListItem: oncreate' let itemHeights = this.store.get('itemHeights') let key = this.get('key') itemHeights[key] = this.refs.node.offsetHeight diff --git a/routes/_utils/virtualListStore.js b/routes/_utils/virtualListStore.js index 41ef9471..095bab0a 100644 --- a/routes/_utils/virtualListStore.js +++ b/routes/_utils/virtualListStore.js @@ -22,7 +22,6 @@ virtualListStore.compute('visibleItems', let height = itemHeights[key] || 0 let currentOffset = totalOffset totalOffset += height - //console.log(key, 'scrollTop', scrollTop, 'currentOffset', currentOffset, 'innerHeight', innerHeight) let isBelowViewport = (currentOffset < scrollTop) if (isBelowViewport) { if (scrollTop - renderBuffer > currentOffset) {