Skip to content
Discussion options

You must be logged in to vote

You can do it by calling scrollToIndex on mount.

https://inokawa.github.io/virtua/?path=/story/basics-virtualizer--reverse

const ref = useRef<VirtualizerHandle>(null);
useEffect(() => {
ref.current?.scrollToIndex(999);
}, []);

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by inokawa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #839 on December 15, 2025 00:27.