diff --git a/routes/_components/virtualList/VirtualListFooter.html b/routes/_components/virtualList/VirtualListFooter.html index 986730e..9a9b683 100644 --- a/routes/_components/virtualList/VirtualListFooter.html +++ b/routes/_components/virtualList/VirtualListFooter.html @@ -17,8 +17,13 @@ export default { oncreate () { requestAnimationFrame(() => { + let node = this.refs.node + if (!node) { + return + } + mark('VirtualListFooter gBCR') - let rect = this.refs.node.getBoundingClientRect() + let rect = node.getBoundingClientRect() stop('VirtualListFooter gBCR') this.store.setForRealm({footerHeight: rect.height}) })