We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67db591 commit ab9c00fCopy full SHA for ab9c00f
1 file changed
.changeset/fix-core-measure-and-ios-flush.md
@@ -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