Response-native: no pointers to Modal

Is there a way to set pointerEvents to none on Modal ? I'm trying to display a child view outside the boundaries of his parents, and the only way to do this is to use Modal . Ignoring pointerEvents for a child does not 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> 
+5
source share

Source: https://habr.com/ru/post/1268927/


All Articles