maxs15 / react-native-modalbox

A <Modal/> component for react-native
MIT License
2.9k stars 504 forks source link

Add onMoveShouldSetPanResponder to trigger onPanStart #322

Closed camel113 closed 4 years ago

camel113 commented 4 years ago

When <Modal/> wraps <TouchableWithoutFeedback onPress={...}/>, the onPress prop "disable" the modal's swipe gesture. This PR fix it and allow modal gesture to work along with onPress.

camel113 commented 4 years ago

I've closed this because I spotted this only fix the issue on simulator and not on real devices.