Is there a way to set pointerEvents
to none
on a Modal
? I'm trying to render a child view outside its parents bounds and the only way I could do this is by using a Modal
. Ignoring pointerEvents
on the child doesn't seem to work.
<View>
<View style={{flex: 1, backgroundColor: 'red'}}></View>
<Modal
animationType='fade'
transparent={true}
visible={true}
pointerEvents='none'>
<View style={{flex:1, alignItems: 'center', justifyContent: 'center'}} pointerEvents='none'>
</View>
</Modal>
</View>