SDWebImage / SDWebImageSwiftUI

SwiftUI Image loading and Animation framework powered by SDWebImage
https://sdwebimage.github.io/SDWebImageSwiftUI
MIT License
2.18k stars 224 forks source link

WebImage is not rendered with drawingGroup() #314

Closed michala-pro closed 5 months ago

michala-pro commented 5 months ago

Example code to reproduce:

struct AsyncImageDemoView: View {
    let url = URL(string: "https://placekitten.com/200/300")

    var body: some View {
        if let url {
            Text("URL: \(url)")
            WebImage(url: url)
                .drawingGroup()
        }
    }
}
dreampiggy commented 5 months ago

I guess this issue was solved in 3.0.4 via #316

image

michala-pro commented 5 months ago

It works in 3.0.4 - thank you!