Skip to content

Commit ab9c00f

Browse files
committed
docs(changeset): record measure() pendingMin and iOS flush accumulator fixes
1 parent 67db591 commit ab9c00f

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@tanstack/virtual-core': patch
3+
---
4+
5+
Two correctness fixes in the new code:
6+
7+
- `measure()` now resets `pendingMin` so a prior `resizeItem()` that left
8+
it non-null can't preserve stale `measurementsCache` entries before that
9+
index. The next rebuild is guaranteed to start at 0.
10+
- The iOS deferred-adjustment flush now rolls its accumulated delta into
11+
`scrollAdjustments`. Without this, a resize landing between the flush
12+
and the resulting scroll event would compute the next correction from
13+
the stale pre-flush offset.

0 commit comments

Comments
 (0)