Skip to content
Source
Sign inSign up
TanStack/virtual

fix(virtual-core): scroll to last index properly #1105

Mergedpiecykmerged 2 commits intomain fromrefs/pull/1105/headmerged by piecyk

Showing 3 changed files with 35 additions and 2 deletions.

x
0 of 3 viewed, 3 left
5 additions and 0 deletions.changeset/wild-chairs-drive.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@tanstack/virtual-core': patch
+---
+​
+fix(virtual-core): scroll to last index properly
1 addition and 0 deletionsexamples/react/dynamic/src/main.tsxModified
View file
@@ -70,6 +70,7 @@
width: 400,
overflowY: 'auto',
contain: 'strict',
+ overflowAnchor: 'none',
}}
<div
29 additions and 2 deletionspackages/virtual-core/src/index.tsModified
View file
@@ -972,11 +972,30 @@