tbranyen / hyperlist

A performant virtual scrolling list utility capable of rendering millions of rows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overflow below the waterline who could solve my problem

Madriix opened this issue · comments

Hi
Reproduce the bug on Firefox, it comments on a lot of problems :

problem

How to solve this so that it is perfect?
The "overflow" could solve my problem so as not to display 50 excess items at startup

Cdt

This library is designed to overflow to allow for smooth scrolling. Although I think we could do a lot better at determining how much to actually overflow in either direction. Since we have a generate method, I suppose you could return undefined if the item appears after the height of the window.