T
TanStack2y ago
sunny-green

How can I retain scroll position when table state is changed, or a row is removed from my table?

Hello, I'm using @tanstack/svelte-table with a virtualizer for an interactive table project. However, I'm encountering a user experience issue: whenever there's a state change in the table, such as selecting or deleting an item, the virtualizer automatically scrolls back to the top. Has anyone successfully integrated the virtualizer with a table that maintains its scroll position during such interactions?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?