使 aurelia-ui- 虚拟化与表一起工作

Make aurelia-ui-virtualization work with tables

我正在努力让 Aurelia virtual-repeat.for 使用 tabletr 元素。这是我修改后的 aurelia skeleton app 用户页面的标记:

<table style="width:500px; height: 200px; overflow-y:scroll; display:block">
  <tr virtual-repeat.for="user of users" style="width:500px; height: 50px">
    <td>
      ${user.avatar_url}
    </td>
  </tr>
</table>

当我向下滚动 table 时,下面的项目没有呈现,我只看到空的 space。我错过了什么?

该问题已在 0.4.3 版中修复,因此描述的场景现在有效