title: How to avoid scrollbar staying on top when loading more data (infinite scroll) in React
body: <p>I'm making an infinite scroll up of the chat room, judging to see the last message and loading the data, but the scrollbar remains at the top of the page, you know, it will automatically execute the call api infinitely,how to keep the scrollbar at the previous message in the position</p>