-
Notifications
You must be signed in to change notification settings - Fork 50
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
fix(modal): Fix event handlers inside modal #2759
Conversation
<View style={styles.sheet} onResponderMove={onResponderMove} onStartShouldSetResponder={() => true}> | ||
<Header /> | ||
<View style={styles.sheet}> | ||
<Header onResponderMove={onResponderMove} onStartShouldSetResponder={() => true} /> |
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.
The swipe down now only works in header, as this was preventing scrollable view to work
@@ -36,7 +36,9 @@ export const ModalScreen = () => { | |||
} | |||
|
|||
return ( | |||
<Pressable style={styles.backdrop} onPress={closeModal}> | |||
<View style={styles.backdrop}> | |||
<Pressable style={styles.cancellableArea} onPress={closeModal} /> |
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.
Presasble is now not the parent, as this was preventing scrollable view to work
Resolves