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
When the page is very long, three pages, four pages or more, after scrolling and then scrolling back to the first page, listener.itemPositions.value is no longer in order, scrollable_positioned_list is not sorted, so listener.itemPositions.value.first is not guaranteed to be The first visible content. This must be done after sorting
First, I'd really like to see some way to reproduce this problem first. :-) Second, if it's really so, judging from the code, a sort looks like overkill to me. Isn't this just a 'find the minimum' operation? That would be cheaper, just a single iteration, no need to convert to list and sort. Maybe something like
When the page is very long, three pages, four pages or more, after scrolling and then scrolling back to the first page, listener.itemPositions.value is no longer in order, scrollable_positioned_list is not sorted, so listener.itemPositions.value.first is not guaranteed to be The first visible content. This must be done after sorting
The text was updated successfully, but these errors were encountered: