-
-
Notifications
You must be signed in to change notification settings - Fork 773
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
Upper limit on number of rows? #108
Comments
Did a search over in react-virtualized and I think this issue bvaughn/react-virtualized#193 (comment) is the same question and I see its related to maximum number of pixels supported by the browser...so I'll close this. Please reopen if you think this should be different in react-window. Sorry I didn't look in react-virtualized first. |
Hey @delateurj! The issue you linked to (bvaughn/react-virtualized/issues/193) is definitely related. Browsers have a maximum pixel size that they support. For newer browsers, that pixel limit is really high. In react-virtualized, I implemented a workaround for this ( My main reasons for this decision were:
Hope this explanation makes sense and is useful to others who come across this issue in the future. |
Thanks. Decision/explanation makes sense...was exploring the edges. |
Buildbot must support rendering large logs of potentially millions of lines. Log viewer is currently implemented by showing a div with the height equal to line_height * number_of_log_lines, just not displaying the log lines themselves. Unfortunately browsers don't support large HTML elements like this and start misbehaving when the number of log lines is in hundreds of thousands. Unfortunately react-window does not support any workarounds for this problem and does not plan to do so (bvaughn/react-window#108 (comment)). react-virtualized had other issues, so the workaround is to fork react-window and implement the fix ourselves. As a bonus, there have been buildbot-specific hacks to react-window already, so now these can be implemented properly. Note that this commit adds a version of react-window which is already heavily modified to use typescript instead of flow type checker. Patterns not supported by typescript have been removed.
Buildbot must support rendering large logs of potentially millions of lines. Log viewer is currently implemented by showing a div with the height equal to line_height * number_of_log_lines, just not displaying the log lines themselves. Unfortunately browsers don't support large HTML elements like this and start misbehaving when the number of log lines is in hundreds of thousands. Unfortunately react-window does not support any workarounds for this problem and does not plan to do so (bvaughn/react-window#108 (comment)). react-virtualized had other issues, so the workaround is to fork react-window and implement the fix ourselves. As a bonus, there have been buildbot-specific hacks to react-window already, so now these can be implemented properly. Note that this commit adds a version of react-window which is already heavily modified to use typescript instead of flow type checker. Patterns not supported by typescript have been removed.
Buildbot must support rendering large logs of potentially millions of lines. Log viewer is currently implemented by showing a div with the height equal to line_height * number_of_log_lines, just not displaying the log lines themselves. Unfortunately browsers don't support large HTML elements like this and start misbehaving when the number of log lines is in hundreds of thousands. Unfortunately react-window does not support any workarounds for this problem and does not plan to do so (bvaughn/react-window#108 (comment)). react-virtualized had other issues, so the workaround is to fork react-window and implement the fix ourselves. As a bonus, there have been buildbot-specific hacks to react-window already, so now these can be implemented properly. Note that this commit adds a version of react-window which is already heavily modified to use typescript instead of flow type checker. Patterns not supported by typescript have been removed.
Hi,
Thanks for your work on this. I was doing a little testing of how very long lists are handled.
I noticed that in the example Fixed Sized Grid in code sandbox it will only handle a row count up to 958698. Any value greater than that and it does not display rows beyond row 958698 (index 958697). I am not surprised there is some upper limit just due to memory and variable maximums, just wondering if this level was surprising and if one can estimate the upper limit of rows/cells.
Thanks.
The text was updated successfully, but these errors were encountered: