b718f1542c
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 |
||
---|---|---|
.. | ||
components | ||
img | ||
all-tests.js | ||
mock-clock.js | ||
skinned-sdk.js | ||
test-utils.js |