Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Revogrid - infinity scroll loading state

Quick start

requirements: access to @revolist:registry=https://npm.rv-grid.com

pnpm install
pnpm run start

issues

Fetching smaller chunks (e.g., as a configuration requirement) does not fill the grid enough to reach the bottom edge of the viewport.

consequences

at very first load, when the viewport is tall enough to display all chunkSize=20 rows, and the user doesn't scroll, no further chunks are ever requested.

Not only is there no scroll event at all — even if one fired, the preload condition would mis-target the next chunk index due to Math.ceil(h/chunkSize) overshooting by one when the last visible item is at position chunkSize-1.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages