mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-06-02 17:01:41 +03:00
It turns out that Chrome now implements scroll-anchoring itself (ie, content stays in the same place when you add more stuff off-screen), which means we cannot rely on back-pagination to make ScrollPanel do a scroll. Instead, just do a scrollToToken. Which turns out to be considerably simpler anyway.