You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! PR #9 fixes the main issue, but there is still an issue with preloading, if fetch index is far from visible zone.
Suppose that page key is the id of message [each message has id = text = ordering number, e.g. Message(id=1, text=1)]
We load the page with key = 20 (id of first visible message), pageSize = 45, prefetchIndex = 22.
It is expected that pager will trigger previous page (with key = 1)
We have loaded full page (from 20 to 65), but the prefetchIndex is far from visible zone, we have to scroll to item 20+22 = 42 to trigger prepend. In that case prefetchIndex < itemsCount, meaning that fix with if (prefetchIndex > itemCount) { ... } will be ignored
Hello! PR #9 fixes the main issue, but there is still an issue with preloading, if fetch index is far from visible zone.
Originally posted by @dinaraparanid in #8 (comment)
The text was updated successfully, but these errors were encountered: