Releases: TanStack/virtual
Releases · TanStack/virtual
@tanstack/vue-virtual@3.13.28
@tanstack/virtual-core@3.17.0
Minor Changes
- #1186
fbf3bdb- AdduseCachedMeasurementsoption to skip DOM measurement when the list is hidden (e.g.display: none). When enabled, the defaultmeasureElementreturns the cached size orestimateSizefallback instead of reading the DOM, preventing ResizeObserver from resetting measurements to zero.
Patch Changes
@tanstack/svelte-virtual@3.13.28
@tanstack/solid-virtual@3.13.28
@tanstack/react-virtual@3.14.2
@tanstack/lit-virtual@3.13.29
@tanstack/angular-virtual@5.0.4
@tanstack/vue-virtual@3.13.27
Patch Changes
- Updated dependencies [
c746841]:- @tanstack/virtual-core@3.16.1
@tanstack/virtual-core@3.16.1
Patch Changes
-
Eagerly adjust scrollOffset on prepend to prevent one-frame jump with anchorTo: 'end' (#1176)
When items are prepended with
anchorTo: 'end'and dynamic sizes, the virtualizer would compute the wrong visible range for one frame (using stale estimate-based positions) and then correct in the next frame via_willUpdate, producing a visible jump. This fix eagerly adjustsscrollOffsetinsetOptionsduring the render pass socalculateRange/getVirtualItemsreturn the correct items immediately.
@tanstack/svelte-virtual@3.13.27
Patch Changes
- Updated dependencies [
c746841]:- @tanstack/virtual-core@3.16.1