Boorusama
Boorusama copied to clipboard
Infinite scroll not loading "second page"
Describe the bug If a user's blacklist is extensive enough, grid size is set small enough, posts per page is set low enough, or a variety of combinations of those, Infinite Scroll can fail to load the "next page" of results when the currently displayed results don't fill the viewport.
Viewing one of the results and returning to the feed triggers the next page to load, but if the next page's results don't fill the previously empty space in the viewport, the subsequent page will then fail to load.
I've been using it with posts per page set to 200 and grid size to Large to reduce the frequency I encounter this, but I really prefer Medium or Small + Masonry for the feed. Even with 200/Large, my list of blacklisted tags can sometimes reduce the results shown from a page to 1 post, causing the second page to fail to load unless the single image from the first page was tall enough to fill the viewport.
Once the viewport is full, scrolling down properly loads subsequent pages of results.
To Reproduce Set blacklist tags, reduce grid size, and/or reduce posts per page.
I've tested with posts per page (p/p) set to both 10 and 200 and grid size set to both Micro and Large. For example, even with no blacklisted results, if p/p is set to 10 and grid size to Small or lower, the second page of results will fail to load.
Expected behavior When viewing a booru's feed in Infinite Scroll, I expect the initial load to load enough "pages" of results to fill the viewport.
Smartphone (please complete the following information):
- Device: Pixel 8 Pro
- OS: Android 16
This will be fixed in 4.3 with a dedicated "load more" button when view port is not scrollable.