Can scrollToIndexFinished
be tracked?
#1011
Unanswered
OleksandrRakovets
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've built a list with bi-directional load that starts on index based on query param + a queue that manages load->render process.
Initial load renders
<Virtuoso initialTopMostItemIndex={myIndex} ...>
and subsequent navigations usescrollToIndex
.The queue needs a signal that scroll has been completed in order to process next task. Currently I have implemented in-view tracking of the item itself, but encountered an issue that when other elements change heights Virtuoso re-compute it and re-tries scroll to index several times which fails after
data[]
array is modified.Is there a way to receive a concrete event that scroll has fully settled and won't re-try?
Beta Was this translation helpful? Give feedback.
All reactions