Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Maintenance work
View staffing
Description
Currently getRefeshKey simply returns anchorPosition. This can result in incorrect refresh key when the first generation has an initialKey set.
For example, initialKey = 50, initiaLoadSize = 5. First initial load returns items [50, 51, 52, 53, 54]. If pagingSource gets invalidated after a differ.getItem(4) call, the new initial load will return [4, 5, 6, 7, 8].