clauderic / clauderic/react-tiny-virtual-list

Total list height (item-height*num-items) breaks at 37,282,700 pixels

Open
#103 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.5k
Forks
159
PR merge metrics
No merged PRs in 30d

Description

When I create a list with 1M items, each 50px high, I cannot scroll all the way down (last item is #745,653) . Looks like chrome maxes out on div height - CSS shows list's container div height is 37,282,700px, and seems it cannot grow larger.

![image](https://user-images.githubusercontent.com/23526995/121800435-80712400-cc3a-11eb-908d-1f68a143914b.png)

See also [37,282,700px mentioned on stack-overflow](https://stackoverflow.com/a/38301324).

```
{
return (



{ index }
);
} }
/>
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.