Answer the question
In order to leave comments, you need to log in
How to remove scrolling when loading data in react?
There is a map list of data. At the end of the list is the "Load" button, which adds values to the array by loading from the api. The problem is that after clicking on the button, the new data is rendered above the button and you need to scroll up to view it and not down.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question