-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Grid and MultiGrid makes 2 render passes on simple scroll #1035
Comments
Hi Pete. Can you please provide us with a code example that demonstrates the scrolling delays you're seeing and a verification of the second render pass? |
The latency will probably be solved once I finish migrating The double render is only observed for For |
I hope I have done this right (first time trying to use codesandbox - sorry for being such a newbie), but here is a link that illustrates what I meant. Regarding delays I see, it mostly occurs when I am using variable-height cells with CellMeasurer. I can certainly understand the performance issues since you have to render all cells in a row to determine row height. But I am poking since if there really is an issue with making 2 render passes, maybe if this could be solved, performance may improve. |
I'll have to double check. This should be in Grid. So I'm going to hold off until the rewrite is done. Which should be in the next week or so |
Hi! Any progress on this issue? |
I am using both Grid and MultiGrid and I am noticing that 2 render passes are made when doing a simple scroll by either clicking on the arrow caret in the scrollbar, or by calling Grid.scrollToCell({rowIndex: n}). Doesn't seem right, and since I already see fairly significant delays when scrolling with MultGrid (the rendering of the row/column header Grids lag behind), I am wondering this could be addressed.
The text was updated successfully, but these errors were encountered: