react-native-modals icon indicating copy to clipboard operation
react-native-modals copied to clipboard

onTouchOutside not working

Open teodorusluo opened this issue 5 years ago • 10 comments

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

teodorusluo avatar Oct 12 '19 04:10 teodorusluo

+1 i have the same problem.

fekajin avatar Oct 23 '19 13:10 fekajin

Same problem.

Ares513 avatar Oct 25 '19 06:10 Ares513

I tried on both IOS and Android, but couldn't reproduce the issue.

jacklam718 avatar Oct 27 '19 12:10 jacklam718

same problem

Ankur-MoneyKey avatar Jan 02 '20 15:01 Ankur-MoneyKey

is that sometime happen on Android right ? any update of this ?

cuongnm2301 avatar Jul 22 '20 08:07 cuongnm2301

@Ares513 @jacklam718 @teodorusluo @fekajin @cuongnm2301 are people trying on samsung edge mobile

MajidAziz3 avatar Jan 15 '21 10:01 MajidAziz3

Same problem here

gokugen avatar Jun 08 '21 13:06 gokugen

Same here, I must touch many times and it randomly accepts the touch. Yes, I'm on Samsung Note 10 plus

baochungit avatar Aug 11 '21 15:08 baochungit

+1 same problem

Jinbe-im avatar Nov 04 '21 03:11 Jinbe-im

+1 same problem on Android devices

wandizer avatar Mar 01 '22 10:03 wandizer