react-native-modals
react-native-modals copied to clipboard
onTouchOutside not working
Hi,
I use onTouchOutside in my modal
<Modal.BottomModal
visible={this.state.setModalPassenger}
modalTitle={<ModalTitle title="Number of Passengers" />}
onTouchOutside={() => this.setModalPassenger(false)}
onHardwareBackPress={() => this.setModalPassenger(false)}
>
<ModalContent style={{backgroundColor:"#fff"}}>
<Text>
tes modal
</Text>
</ModalContent>
</Modal.BottomModal>
onHardwareBackPress is fine, and also I try with onSwipeOut is also fine, but for onTouchOutside is not working, I must touch multiple times in backdrop in order to dismiss the modal.
Please help
+1 i have the same problem.
Same problem.
I tried on both IOS and Android, but couldn't reproduce the issue.
same problem
is that sometime happen on Android right ? any update of this ?
@Ares513 @jacklam718 @teodorusluo @fekajin @cuongnm2301 are people trying on samsung edge mobile
Same problem here
Same here, I must touch many times and it randomly accepts the touch. Yes, I'm on Samsung Note 10 plus
+1 same problem
+1 same problem on Android devices