Closed atharvsharma1998 closed 3 years ago
Hey, I can not reproduce the issue from the description, and the sample code doesn't compile. Please try isolating the issue in a sample view that can be compiled without dependencies other than the URLImage package.
Try using the .clipped()
modifier when using .fill in aspectRatio
I found my solution on Stackoverflow
I'm closing the issue assuming that the solution suggested by @noahkamara fixes the problem.
Summary and/or background when i am using urlimage inside ForEach the images are not fitting inside defined frame
OS and what device you are using
Version of URLImage library The version of the library where the bug happens.
Sample code ForEach(HomeModel.filtered){item in //Item View... //Text(item.item_name)
Additional information: