You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using @tanstack/svelte-virtual. With masonry type grids total size (.getTotalSize()) seems to be based on all other row heights + the height of the shortest item in the last row of the grid (instead tallest item in the latest row of the grid).
Expected behavior
For masonry type grids .getTotalSize() being calculated based on tallest item in each row instead of shortest item for the very last row.
Platform
macOS, Chrome
tanstack-virtual version
v3.0.4
Terms & Code of Conduct
I agree to follow this project's Code of Conduct
I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm using @tanstack/svelte-virtual. With masonry type grids total size (
.getTotalSize()
) seems to be based on all other row heights + the height of the shortest item in the last row of the grid (instead tallest item in the latest row of the grid).Expected behavior
For masonry type grids
.getTotalSize()
being calculated based on tallest item in each row instead of shortest item for the very last row.Platform
macOS, Chrome
tanstack-virtual version
v3.0.4
Terms & Code of Conduct
The text was updated successfully, but these errors were encountered: