-
Notifications
You must be signed in to change notification settings - Fork 617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "propagateSwipe" prop to allow scrolling inside modal #246
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thank you for updating the docs as well 🙇
See the comment in the review.
@@ -196,7 +198,9 @@ class ReactNativeModal extends Component { | |||
// work correctly even when the modal has touchable buttons. | |||
// For reference: | |||
// https://github.com/react-native-community/react-native-modal/pull/197 | |||
return Math.abs(gestureState.dx) >= 4 || Math.abs(gestureState.dy) >= 4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mind adding a link to the PR here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added
@cjroth published on |
Sad to say this does not work for me. I've got a vertical ScrollView inside a modal with I'm afraid I do not have the time to create a minimal reproducible example at the moment. |
😢 |
Yeah, sorry, I just mean close one, open the other, and link the two with a comment :) |
Thanks @mmazzarolo for figuring this out.
Fixes #236.