-
I've got two virtually identical uses of
The code looks like this. The only difference is the frame size (the other is 60x60). In the failure case, the placeholder remains. KFImage(self.user.imageURL)
.cancelOnDisappear(true)
.placeholder {
Image(systemName: "person.fill")
.resizable()
.aspectRatio(contentMode: .fill)
.frame(width: 66.0, height: 66.0)
.clipShape(Circle())
}
.onSuccess { r in print("success: \(r)") }
.resizable()
.aspectRatio(contentMode: .fill)
.frame(width: 66.0, height: 66.0)
.clipShape(Circle()) Any idea what's going on here and how I can fix it? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@JetForMe Thanks for reporting this. Ummm... Any chance to create an actually working demo for this issue? Especially, I guess the difference:
causes this issue..But I need to know exactly what has been done before image being loaded. |
Beta Was this translation helpful? Give feedback.
-
And in case of you are not using the latest master branch, can it be related to this? Say, maybe try to add a |
Beta Was this translation helpful? Give feedback.
And in case of you are not using the latest master branch, can it be related to this? Say, maybe try to add a
.loadImmediately()
to the failing case and check if anything is different.