D
D
dataWave2020-05-27 10:11:06
JavaScript
dataWave, 2020-05-27 10:11:06

How can I keep the current scroll position when rendering top and bottom?

There is a block with dynamically loaded data on scroll up/down, when it reaches <300px from the edge of the scroll, the data array is re-rendered and the scroll flies up, how can this be avoided and left at the same position?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question