AsyncImage in List not working on iOS 16

struct Item: Identifiable {
	let id: String
	let url = URL(string: "https://styles.redditmedia.com/t5_j6lc8/styles/communityIcon_9uopq0bazux01.jpg")!
}

struct Content: View {

	let model: [Item] = {
		var model = [Item]()
		for i in 0 ..< 100 {
			model.append(.init(id: String(i)))
		}
		return model
	}()

	var body: some View {
		List(model) { item in
			Row(item: item)
		}
	}

}

struct Row: View {

	let item: Item

	var body: some View {
		AsyncImage(url: item.url)
	}

}

Running code above with Xcode 14.1 RC on iOS 16.1 Beta simulator, AsyncImage sometimes doesn’t properly show downloaded image but grey rectangle instead when scrolling in list. Is this bug or am I missing something? Thanks

I've encountered the same issue. I fixed it by using this package as a replacement for AsyncImage: https://github.com/leoz/CachedImage

AsyncImage in List not working on iOS 16
 
 
Q