riot-web/test/components/structures
Luke Barnard b718f1542c Fix infinite loop when there are a lot of invisible events (#554)
Instead of using a window of a fixed number of events, unpaginate based on the distance of the viewport from the end of the scroll range.

The ScrollPanel uses the scrollTokens to convey to its parent (the TimelinePanel, in this case) the point to unpaginate up to. The TimelinePanel then takes a chunk of events off the front or back of `this.state.events` using `timelineWindow.unpaginate`.

Fixes https://github.com/vector-im/vector-web/issues/2020
2016-11-16 14:25:52 +00:00
..
MessagePanel-test.js Inject MatrixClient into React context in tests 2016-11-14 18:22:56 +00:00
RoomView-test.js Fix a load of warnings in the tests 2016-10-11 14:20:40 +01:00
ScrollPanel-test.js Fix an issue where the scroll stopped working. 2016-04-05 10:41:32 +01:00
TimelinePanel-test.js Fix infinite loop when there are a lot of invisible events (#554) 2016-11-16 14:25:52 +00:00