1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-12-02 21:22:41 +03:00
Files
element-web/test/components/structures/ScrollPanel-test.js
Richard van der Hoff 167ce88a80 Rewrite ScrollPanel test
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.
2017-07-05 14:34:25 +01:00

8.9 KiB