3 ms·
Stable Bidirectional Infinite Scroll
https://cathykc.github.io/bx-stable-infinite-scroll/
We struggled to find an existing package that gave us a stable bidirectional infinite scroll out of the box. Users of dispatch.do are often dropped in the middle of a feed and we needed to load historical as well as more recent data without shifting the view.
Open-sourcing a component we wrote to solve this problem. Works with heterogenous rows and pairs well with virtualization libraries like react-window. Pull requests, issue submissions very welcome :)
- deleted 5y ago[deleted]
- deleted 5y ago[deleted]
- ckaic 5y agoLinks: https://cathykc.github.io/bx-stable-infinite-scroll/ https://cathykc.github.io/bx-stable-infinite-scroll/ https://www.dispatch.do/ https://www.dispatch.do/
- stedman 5y agoThis is such an annoying problem for anyone building a chat app. Very elegant solution. Thank you