Explain what you did
Image Component onLoad is not being fired. When given a function through props.
Expected behavior
I expect the onLoad I supply to the Image Component to run.
Describe the bug
The Image component doesn't honor my onLoad function and instead only runs its own onLoad method.
To Reproduce
- Create and Image component
- Give it an onLoad function that console logs
- Have it run
- It won't console log.
<ImageComponent testID="RNE__Image" {...attributes} onLoad={this.onLoad}
The problem is here in Image.js
Your Environment (please complete the following information):
react-native-elements 1.2.7
react-native 0.61.5
Explain what you did
Image Component onLoad is not being fired. When given a function through props.
Expected behavior
I expect the onLoad I supply to the Image Component to run.
Describe the bug
The Image component doesn't honor my onLoad function and instead only runs its own onLoad method.
To Reproduce
<ImageComponent testID="RNE__Image" {...attributes} onLoad={this.onLoad}The problem is here in Image.js
Your Environment (please complete the following information):
react-native-elements 1.2.7
react-native 0.61.5