Post

Replies

Boosts

Views

Activity

Comment on AsyncImage - Cancelled Loading before View is Visible
As a followup, interestingly enough if I replace the List with a VStack inside a ScrollView then all works fine (because I assume no lazy loading occurs in that case) so this is definitely related to something between the lifecycle of the view as stated on the original post. I suspect that the "cancelled" state happens when a view is re-displayed or replaced by the system... Amusingly enough, a LazyVstack instead will kinda work, but only if you don't scroll fast enough. If you do (e.g. tap to scroll to the top) then the images in the top view will say "cancelled" :)
Jun ’21