Mikhail Shilkov
Mikhail Shilkov

Reputation: 35134

Make aurelia-ui-virtualization work with tables

I'm struggling to make Aurelia virtual-repeat.for work with table and tr elements. Here is my markup of the modified Users page of 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>

When I scroll the table down, the items below aren't rendered and I see just the empty space all over. What am I missing?

Upvotes: 2

Views: 390

Answers (1)

Mikhail Shilkov
Mikhail Shilkov

Reputation: 35134

The issue was fixed in version 0.4.3, so the described scenario is working now

Upvotes: 2

Related Questions