Closed spinosa closed 12 years ago
I'm not positive, but I think that infinite scrolling is based on detecting scrolling to the combined height of all the elements in the list view. Therefore, both StreamPlay and deleting frames cause problems with this, since the collapsing and expanding of frames and the removal of frames changes the total height, but infinite scrolling is not informed of the new height. I'm saying all this without looking at the code so it could be nonsense, but it feels right.
A more flexible approach would be to load more when the "Load More" button becomes visible. Then it wouldn't matter if the height of the elements inside the scroll area changed. jquery Appear is good for this kind of stuff:
Fixed as part of other work on Streamplay and frame removal issues
to reproduce:
You'll notice that it doesn't auto-
load more
like it should. And if you manually clickload more
it doesn't workPlease look into this @mkrecny