-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When scrolling up, items are not rendered in advance #49
Comments
I was running into this issue too, and I believe I have the fix for this, which is a single line of code. (on ../lib/index.js) Change line 92 from: The comparison to averageHeight prevents this from rendering while scrolling up if the scroll doesn't exceed the averageHeight value. |
Hi Joe, |
Same for me, the above fix didn't work |
Change Change |
Hi there,
I notice that the behaviour scrolling up seems different from scrolling down.
Often when scrolling down, there's a threshold of pre-loaded items below the container so that there's fewer instances of a blank white container. However when scrolling back up, you frequently see a blank container as it seems the items aren't preloaded.
Also would be good if there were options to specify the number of items rendered above & below the visible container.
Nice tool!
Thanks!
The text was updated successfully, but these errors were encountered: