matrix-react-sdk
78a2e497 - Don't always paginate when mounting a ScrollPanel

Commit
8 years ago
Don't always paginate when mounting a ScrollPanel Calling just checkFill on DidMount did not initially set the scrollTop which meant that one back pagination request is always performed regardless. This meant we would end up rending the first batch of events, then paginating and re-rendering again after the pagination got another batch, causing unnecessary render churn.
Author
Parents
Loading