DEV Community

Discussion on: Build your Own Virtual Scroll - Part I

Collapse
adamklein profile image
adam klein Author

We add padding above and below the visible viewport, hence we double the nodePadding number - 2 * nodePadding