Closed alexhuot1 closed 1 year ago
CSS Grid is supported quite well, but it is possible to achieve a broken configuration, like the one in the example. As far as I can tell, the column templates cause rendering of two items per row, while the grid measurements expect more, based on the measurements of the item.
What do you mean by "grid measurements"? Is it a props that we need to pass? I can find any reference in the code or documentation.
Describe the bug
VirtuosoGrid
doesn't seems to support css-gridReproduction I use the sandbox from the
VirtuosoGrid
example and change theListContainer
style from a "flex" to a "grid" with a grid-template-column. codesand box exempleTo Reproduce Steps to reproduce the behavior:
VirtuosoGrid
Expected behavior According to the
VirtuosoGrid
documentation,css-grid
should be supported to create a layout. Therefore, the scroll should be smooth and doesn't jump around.Desktop (please complete the following information):
Additional context Here's the quote from the documentation:
So I though that css-grid would be supported, but I might have misunderstood.