If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Description
onLoad event is being triggered for both main image and for fallback image. So, when there's an error onError is called immediately followed by an onLoad event (for fallback image).
Expected behavior
onLoad should only be called for main image and maybe we can have a separate event for fallback image, like onPlaceholderLoad, onFallbackLoad?
Actual behavior
Same event (onLoad) is triggered for both main image and fallback image
If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Description
onLoad event is being triggered for both main image and for fallback image. So, when there's an error onError is called immediately followed by an onLoad event (for fallback image).
Expected behavior
onLoad should only be called for main image and maybe we can have a separate event for fallback image, like onPlaceholderLoad, onFallbackLoad?
Actual behavior
Same event (onLoad) is triggered for both main image and fallback image