Quick answer: Unity UI Toolkit ScrollView showing stale scrollbar position after content resized? Scroll position cached at content-aware size; re-evaluate post-change.
Add 100 items to a ScrollView's content; scrollbar still shows the original range; can't scroll to new items.
Force layout update
scrollView.ScheduleOnce(_ => {{
scrollView.UpdateContentViewTransform();
}}, 0);Triggers a layout recompute; scrollbar updates.
Or reset scroll position
scrollOffset = Vector2.zero. Scroll to top; new content visible from there.
Use MarkDirtyRepaint
Schedule a repaint pass; layout follows. Cleaner than direct update.
“ScrollView layout is cached. Content changes need explicit re-layout.”
If your UI Toolkit list doesn't scroll right, the layout cache is suspect. Force the update; the cache refreshes.