keep scrollbar position in Inverse Infinite scroll

I Implemented Inverse infinite scroll for a chat view It works nicely, and the query triggers when the scrollTop is in the 50px of the top of the container. if the query triggers and ends when the user is scrolled all the way to the top, the viewport stays on the top of the container, instead of staying on the current viewed chat message How can I keep the position of the scrollbar on the current message? (first message before the query ends)
1 Reply
JacobMGEvans
JacobMGEvans2y ago
Do you have a minimal repro or anything to provide more context?
Want results from more Discord servers?
Add your server