Closed NoahKamara closed 3 years ago
Hey, thank you for detailed report and sample code. It seems that something triggers onDisappear
event that cancels loading. I'm gonna investigate later on, for now you can set .environment(\.urlImageOptions, URLImageOptions(loadOptions: [ .loadImmediately ] ))
to start load as soon as the view is initialised.
Recently I was getting many similar bug reports, so I decided to change default behaviour to start loading when the view is rendered. There's also a new section in README that explains differences: Start Loading. If you're using List
you may get better performance with old behaviour.
Thanks for the quick fix :D I added the environment key and the build seems to perform fine :D
Hey there, iOS 15 DEV Beta 2 fixes this:
Could this be related to this issue?
Summary and/or background Images won't load initially on tvOS
OS and what device you are using
Version of URLImage library The version of the library where the bug happens.
What you expected would happen The image should be loading and then displaying
What actually happens
Sample code
Test data I'm using Lorem Picsum
Additional information
Misc