Repository navigation
Releases: petyosi/react-virtuoso
Releases · petyosi/react-virtuoso
Release list
@virtuoso.dev/reactive-engine-query@2.0.2
react-virtuoso@4.18.19
Patch Changes
- #1462
12a40e9Thanks @Luccas-carvalho! - Clamp out-of-rangeVirtuosoGridscrollToIndextargets to the last available item.
react-virtuoso@4.18.18
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.
react-virtuoso@4.18.17
Patch Changes
- #1520
e519b85Thanks @cpruijsen! - FixedendReachedreceiving an index that includes the group headers inGroupedVirtuosoandGroupedTableVirtuoso. The callback now receives the index of the last real item - e.g. 499 instead of 522 for a list of 500 items with 23 groups. If yourendReachedhandler subtracts the group count from the index as a workaround, remove that adjustment.endReachedno longer fires when every group is empty.
@virtuoso.dev/reactive-engine-core@0.2.1
Patch Changes
- #1517
fcb22cbThanks @petyosi! - Fix derived nodes that kept a stale value after a subscriber published during a cycle. When the outer cycle later recomputed acombineCells,ComputedCell, orwithLatestFromnode, it read the value from before the nested publication and overwrote the correct result.useCellValuesthen kept rendering the old value whileuseCellValueshowed the new one. A nested cycle now writes its accepted values into every running cycle on the engine, including the values forwarded to child engines.
@virtuoso.dev/data-table@0.6.1
Patch Changes
- Updated dependencies [
fcb22cb]:- @virtuoso.dev/reactive-engine-core@0.2.1
- @virtuoso.dev/reactive-engine-react@1.0.0
react-virtuoso@4.18.16
Patch Changes
- #1512
b7238f3Thanks @cpruijsen! - MapskipAnimationFrameInResizeObserverthrough TableVirtuoso's urx optional props so the table resize observer consumes it instead of leaving the leftover prop on the scroller DOM.
@virtuoso.dev/data-table@0.6.0
Minor Changes
-
#1513
e1735dcThanks @petyosi! - Keep the measured column header at its natural width when a consumer style stretches it with flex-grow or a percentage width. The header's measured width is the column's base width, so a stretched header used to record its grown width as the base, and grow columns never gave the extra width back when the table narrowed. Consumers can set fixed and minimum base widths on the intrinsic header surface.Add
containerPropstoColumnHeaderfor styles, event handlers, and accessibility attributes that must cover the full rendered column width without changing its intrinsic measurement.
@virtuoso.dev/reactive-engine-query@2.0.1
Patch Changes
- #1509
3dbb0c4Thanks @petyosi! - Fix aQuerythat stopped reacting toenabled$after its first toggle. Settingenabled$back totruenow fetches with the current params every time, and setting it tofalseagain aborts the in-flight request and stopsrefetchIntervalpolling. Both reactions previously ran through filtered streams, which are distinct, so only the first enable and the first disable took effect.
react-virtuoso@4.18.15
Patch Changes
- #1461
364c071Thanks @aehmt! - Fixed "Zero-sized element, this should not happen" error wheninitialItemCountexceeds the availabledata. The initial list state builder now clamps the item count to the data remaining afterinitialTopMostItemIndex, and renders no items whendatais explicitly empty, preventing phantom items withundefineddata from being rendered.initialItemCountalso became a reactive input of the list state computation, so changing it after mount recomputes the list instead of leaving stale state until an unrelated update.