callstack / callstack/masked-view
When the maskelement is an image , the masked view is not rendered(Android)
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 131
- PR merge metrics
- No merged PRs in 30d
Description
When the maskelement is an image , the masked view is not rendered .
the onLoadStart in the image is only fired , whereas onLoadEnd and OnLoad is not being triggered
This works perfectly on IOS . all the three functions and triggered correctly
"react": "17.0.2",
"react-native": "0.67.5",
"@react-native-masked-view/masked-view": "^0.2.8",
const maskElement = (
console.log('onLoad')}
onLoadStart={() => console.log('onLoadStart')}
onLoadEnd={() => {
setLoaded(true);
console.log('onLoadEnd');
}}
style={{width: size, height: size, backgroundColor: 'transparent', borderRadius: size / 2}}
source={global_images.mask}
/>
);
Contributor guide
Assessment
This issue has not been assessed yet.