react-infinite-scroll-component
react-infinite-scroll-component copied to clipboard
Can the value of dataLength be calculated by the component itself
I now have a problem, when I set the initial value of dataLength to 16, it can scroll normally on the 1440 resolution screen, when the 1920 resolution screen shows 16 data on a page, there is still space left on the screen, and the scroll bar has not appeared, so I cannot continue to view the data after 16. Is there such a function? Can automatically calculate the maximum number of data displayed on a page of the current screen, and then automatically adapt to different resolutions of the screen?