diff --git a/routes/_components/virtualList/VirtualListFooter.html b/routes/_components/virtualList/VirtualListFooter.html index c1d83668..8ad93a02 100644 --- a/routes/_components/virtualList/VirtualListFooter.html +++ b/routes/_components/virtualList/VirtualListFooter.html @@ -19,7 +19,7 @@ const asyncLayout = new AsyncLayout(() => '__footer__') asyncLayout.observe('__footer__', this.refs.node, (rect) => { asyncLayout.disconnect() - this.store.set({footerHeight: rect.height}) + this.store.setForRealm({footerHeight: rect.height}) }) }, store: () => virtualListStore, diff --git a/routes/_components/virtualList/VirtualListItem.html b/routes/_components/virtualList/VirtualListItem.html index ed40f1d0..ecde2abc 100644 --- a/routes/_components/virtualList/VirtualListItem.html +++ b/routes/_components/virtualList/VirtualListItem.html @@ -5,7 +5,7 @@ <:Component {component} virtualProps="{{props}}" virtualIndex="{{index}}" - virtualLength="{{$numItems}}" + virtualLength="{{numItems}}" on:recalculateHeight="doRecalculateHeight()"/>