Skip to content

Some images do not appear until scroll #103

Closed
@Cyclic

Description

@Cyclic

First of all, thank you for the great framework. My app is loading assets from S3, which seem to load most of the time, but often when opening the app, the images are not loaded and do not load until I scroll even just slightly. It appears that something is either blocking the main thread for images loading, not sure what (advice on debugging this as a possible issue is appreciated), or SDWebImageSwiftUI is running into its own threading entanglement issues.

Please let me know, and thank you in advance. Here is the code:

            WebImage(url: listing.imageURLs?.first)
                .renderingMode(.original)
                .resizable()
                .placeholder {
                    Rectangle()
                        .foregroundColor(.gray)
                        .opacity(0.3)
                }
                .indicator(.progress)
                .transition(.fade)
                .frame(width: 155, height: 155)
                .cornerRadius(6)

IMG_0019

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions