Repository navigation
Releases
Releases · petyosi/react-virtuoso
[email protected]
[email protected]
@virtuoso.dev/[email protected]
Patch Changes
- #1569
c057a21Thanks @petyosi! - Render rows again in environments without layout, such as jsdom tests. The 0.6.2 hidden-ancestor guard skipped every resize entry when an element had no client rects, which jsdom reports for every element, so tables in jsdom tests rendered no rows. The guard now also requires the entry to report a zero size.
@virtuoso.dev/[email protected]
@virtuoso.dev/[email protected]
Patch Changes
- #1562
820766cThanks @petyosi! - Keep the router working when an async guard keeps the reader where they are. A guard that resolved tonavigate()orredirect()left the router suspended on its pending placeholder and left the refused route set, so later navigation, including asking for the same route again, never reached the guards. The router now restores what it showed before the guard ran and clears the refused route. The active route also renders inside the router's own Suspense boundary, so a pending guard no longer suspends content outside the router or disposes the router engine, which made an async guard on the first load run again without end.
[email protected]
Patch Changes
- #1559
b3a6f50Thanks @Sam-Razavi! - Fixed lists usingcustomScrollParentoruseWindowScrollinside an element with CSSzoom. The rendered items drifted away from the scroll position, leaving blank space that grew as you scrolled, andendReachedstopped firing. Sizes read withgetBoundingClientRect()are now converted to the same pixels asscrollTop, forVirtuoso,TableVirtuosoandVirtuosoGrid.
[email protected]
Patch Changes
@virtuoso.dev/[email protected]
[email protected]
Patch Changes
- #1462
12a40e9Thanks @Luccas-carvalho! - Clamp out-of-rangeVirtuosoGridscrollToIndextargets to the last available item.
[email protected]
Patch Changes
- #1521
c923e6dThanks @cpruijsen! - FixedGroupedVirtuosocallingcomputeItemKeyanditemContentwith a non-existent item index when all groups are empty (e.g.groupCounts={[0]}) or wheninitialTopMostItemIndexisLAST. The initial size probe now stays within the existing items, and probes only the group headers when there are no items. When the empty groups later receive items, the size state is reset, so the list measures a group header and an item again instead of sizing every item as a header.