When the amount of data is too large, Virtual scrolling cannot be displayed completely #25198
Replies: 2 comments
|
See issue #14990 Important to note: Virtual scroll is not endless. Browsers have height limits for elements:
(Source: https://clusterize.js.org/) |
|
The mathematical reason this breaks: with 3,000,000 items at a standard item height (say 40px–50px), the total virtual container height would need to be 120,000,000px to 150,000,000px. Every browser engine enforces a hard limit on CSS element height (
Once Here are the two production patterns to handle massive datasets in Angular CDK: 1. Implement a Custom
|
Uh oh!
There was an error while loading. Please reload this page.
As shown in the figure, a basic virtual scroll, when the amount of data is 3000000, cannot display all the data
All reactions