-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Image was partially loaded but onLoad was called and onError (on iOS) was not called #9893
Comments
+1 |
@xzdev Does this happens with remote image? This issue only happens to me for images which I save to the filesystem. |
Yes. It happens to me with remote images. It happens when there are multiple remote images loading concurrently and immediately navigate to a new scene. The issue did not occur again on my 6+ after upgrading to the latest IOS. |
Has anyone found a resolution to this - I am noticing this on iOS 9 at the moment. |
@jsappme, @wcandillon - did you research this bug further? cc: @ptmt @mihailmetro |
@r-bansal I was using a buggy image cache module |
@r-bansal same for me! |
@r-bansal @xzdev You can find more details about why this happens at wkh237/react-native-fetch-blob#331. This use case is supported in https://github.com/wcandillon/react-native-img-cache. @shergin I think this issue can be closed. |
@xzdev You are using |
Issue Description
When using multiple
<Image source='http://someImagePath' />
to load a bunch of network images, some user interaction triggers a navigation update which loads new scene to the top. When coming back to the previous scene, a few of images were partially loaded (as shown in the following picture).Adding
onLoad
andonError
(on iOS) to debug, I found onLoad was called and onError was never triggered. That means the broken image was considered as loaded successfully. As the partially loaded images were cached, even triggering another render will still show the broken images.The issue was recently introduced around 0.28 and it is reproducible on the build 0.32 and 0.33.
Is there anyone who have the similar issue?
Additional Information
The text was updated successfully, but these errors were encountered: