Skip to content

Work without row height #7

Open

Description

@chinchang

What if I don't know row height? Or its variable for all rows?

Activity

  1. ansballard commented on Aug 6, 2018

    @ansballard

    If you can't make your rows all one consistent height, this and other virtual list libraries won't work. The underlying idea behind this library is that you know the height of every row, so you can calculate what rows should be shown at any time given the scroll position. If you don't have that, you'll probably want to look into different ways to show (or selectively show) large datasets.

  2. maslowivan commented on Mar 31, 2019

    @maslowivan

    If you can't make your rows all one consistent height, this and other virtual list libraries won't work

    by the way is possible and even with SSR

  3. maslowivan commented on Apr 2, 2019

    @maslowivan

    @ansballard (Array.from(this.base.children)[0].getBoundingClientRect()).height;

  4. kishoreknowapp commented on Jul 27, 2021

    @kishoreknowapp

    Is it possible with dynamic row heights? Meaning different height for different rows.

  5. maslowivan commented on Jul 27, 2021

    @maslowivan

    @kishoreknowapp don't use this component in 2021, better to start with intersectionobserver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions