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
In an Infinite Scroll implementation, after N items are loaded/rendered successfully the $scrollview.state.lastComponent correctly points to the N item.
After that, we are updating all items (asynchronously over AJAX) and re-fetch an initial batch of 10 items (10 < N).
Although using $scrollview.refresh(); on Vue.nextTick the $scrollview.state.lastComponent still is pointing to the previous list's last available item (the N item).
The issue can be overcome by re-setting the lastComponent to an empty object, right after fetching the items, but that solution is not elegant..
The text was updated successfully, but these errors were encountered:
In an Infinite Scroll implementation, after N items are loaded/rendered successfully the
$scrollview.state.lastComponent
correctly points to the N item.After that, we are updating all items (asynchronously over AJAX) and re-fetch an initial batch of 10 items (10 < N).
Although using
$scrollview.refresh();
onVue.nextTick
the$scrollview.state.lastComponent
still is pointing to the previous list's last available item (the N item).The issue can be overcome by re-setting the
lastComponent
to an empty object, right after fetching the items, but that solution is not elegant..The text was updated successfully, but these errors were encountered: