seatgeek / react-infinite

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

Scrolling very slowly triggers infinite insertion / deletion and unresponsive DOM #286

Open jerninvien opened 5 years ago

jerninvien commented 5 years ago

There are a lot of jerky / infinite loop type issues here, I'll try to explain mine just by saying if I scroll very slowly R.I. will start rapidly inserting / deleting (?) in preparation for the next incoming items. During this time, the DOM is unresponsive, links stop working. Only way to unfreeze it from this state is to scroll normally a bit up and down to force the next insert. See attached images for the two states it oscillates between while stuck in this state. Any suggestions would be much appreciated!

screenshot 2018-11-24 at 17 37 22 screenshot 2018-11-24 at 17 36 29
p2227 commented 5 years ago

try add a key props?