Repository navigation
Releases
Releases · petyosi/react-virtuoso
react-virtuoso@4.18.24
Patch Changes
- #1579
7570571Thanks @charan-rathore! - Measure the current custom scroll parent in viewport updates queued before the parent changed, so an old resize cannot overwrite the current parent's offset and misalign a later scrollToIndex call.
@virtuoso.dev/data-table@0.6.4
react-virtuoso@4.18.23
react-virtuoso@4.18.22
@virtuoso.dev/data-table@0.6.3
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/data-table@0.6.2
@virtuoso.dev/reactive-engine-router@2.0.1
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.
react-virtuoso@4.18.21
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.