seatgeek / react-infinite

A browser-ready efficient scrolling container based on UITableView
Other
2.71k stars 274 forks source link

How to prevent window's browser srcoll #262

Open hoangtrucit opened 6 years ago

hoangtrucit commented 6 years ago

I use react-infinite in my project very well, only once problem when scroll to bottom in div then window scroll too. How to fix this problem. Thanks

perepelitca commented 5 years ago

Faced the same issue. It is very distracting when it is being used with async items loading. When I scroll to the bottom, I make request using onInfiniteLoad, but at the same time entire page start scrolling. Is there any way to fix this?

Thanks!