[Image] errorSource not working on Android due to undefined nativeEvent.error + zIndex:-1 causes visibility issues
Author: qyscottCreated Dec 21, 2025Updated Mar 8, 2026
Labelsbugwontfix
The Image component in react-native-ui-lib has two related issues on Android:
errorSourcedoes not load when image fails
On Android,onErrorcallback receives an event whereevent.nativeEvent.errorisundefined. As a result, the component cannot detect a real error and fallback toerrorSource. The Avatar (and similarly, Image) component in react-native-ui-lib has issues on Android:Image may be hidden due to
zIndex: -1
When using certain props (e.g.,useBackgroundContaineror internal styling), the image getszIndex: -1, causing it to be visually hidden behind other elements.
Both issues severely impact reliability and accessibility of image loading on Android.
react-native : 0.77.1 react-native-ui-lib : 7.43.0
Source: wix/react-native-ui-lib