feat: Add `topReached` event to infinite scroll to load previous items
requested to merge 633-support-reverse-infinite-scrolling-infinite-load-up-in-gl-infinite-scroll into master
Description
Add topReached
event to infinite scroll to load previous items
- Adds new event
topReached
when the top of the scrolling area is reached. - Checks if the items are added above, by checking if the size of the container has change, and corrects the position of the view port.
- Scrolls to the bottom of the container when
topReached
is defined andbottomReached
is not.
Review app
Screenshots
Scroll up for more
Scroll in either direction for more
Related to #633 (closed)
Edited by 🤖 GitLab Bot 🤖