T
TanStack2y ago
quickest-silver

setting scroll position when using infinite query with maxpages

I’m using virtual with infinite query. Everything was working pretty well, but then I set the maxpages on infinite query to prevent running out of memory on especially large lists. This works on the query side, but I noticed that the scroll position in my list stops updating when I reach the page equal to the max page (in my case 5). I’ve been able to work around this by manually setting the scroll index to a value equal to one page fewer items (4000 for my 5 pages of 1000 items). Is this normal or am I missing something? Thanks.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?