Skip to content

Table shows no rows if you scroll too fast #172

@catsalive

Description

@catsalive

I'm submitting a bug report

  • Library Version:
    1.0.0-beta.7

Please tell us about your environment:

  • Operating System:
    Windows 10

  • Node Version:
    10.16.3

  • NPM Version:
    6.9.0

  • JSPM OR Webpack AND Version
    webpack 4.27.0

  • Browser:
    Chrome 78.0.3904.87

  • Language:
    TypeScript 3.6.3

Current behavior:
This no longer works again (if you scroll slightly too fast the rows disappear, the height of the bottom placeholder tr tag appears to be too high):

<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>

Expected/desired behavior:

  • Do au new to create a new skeleton project
  • remove the overflow attributes from the page-host css class
  • paste in the above templating into welcome.html
  • throw an array into welcome.ts to iterate on
  • run the project
  • scroll quickly to the bottom
  • The table rows show as expected

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions