LazyVGrid in ScrollView stops app whenever scroll and get images from url...


I tested in some conditions...

I coded some Lists that is getting image datas from firebase URL and they have no problems.

but After I made a LazyVGrid in ScrollView that is getting images from the same firebase server, whenever I scroll some amount then app crashes...

I tested some local images to LazyVGrid then it's ok. but whenever it downloads images in realtime and scrolling cause crash(app stops. no error messages...)

I think this is SwiftUI Bug...


I have the same issue!
Where and how are you getting your images? Are you loading the images in the OnAppear of your gridcells?
I have the same issue, now. I think the problem stay in laziness of the view... if I use VStack it works, but not with LazyVStack or LazyVGrid. I think for now I'll solved this with nested VStack and HStack...
LazyVGrid in ScrollView stops app whenever scroll and get images from url...
 
 
Q