-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KFImage
won't load image if EmptyView
is a placeholder
#1972
Comments
@damian-rzeszot Nice catch and thank you for reporting this. Does #1973 (the |
Yes, it works great. Thanks for this quick fix |
After some checking, the same "issue" also happens in SwiftUI's
I am now wondering if it is a bit anti-pattern to use an A new PR #1975 was created to fix some broken layout behavior introduced in #1973, while keeping the ability of trigering a loading by |
In my case I got |
Check List
Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.
Issue Description
What
The view I work with is quite complicated, but the whole problem comes down to this:
This placeholder is used here and wrapped with a
Group
. For theGroup
only withEmptyView
a callback foronAppear
won't be called. This causes the image to not be loaded.Other Comment
Sample code of
onAppear
behaviourThe text was updated successfully, but these errors were encountered: