Skip to content
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

Merged
merged 4 commits into from
Oct 12, 2023

Conversation

michaeljscript
Copy link
Collaborator

Resolves

Centralization of transport selection is not right

@github-actions github-actions bot added the fix label Oct 12, 2023
<View style={styles.sheet} onResponderMove={onResponderMove} onStartShouldSetResponder={() => true}>
<Header />
<View style={styles.sheet}>
<Header onResponderMove={onResponderMove} onStartShouldSetResponder={() => true} />
Copy link
Collaborator Author

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} />
Copy link
Collaborator Author

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

@michaeljscript michaeljscript added this to the 5.0.0 milestone Oct 12, 2023
@stackchain stackchain merged commit 9a5807a into develop Oct 12, 2023
@stackchain stackchain deleted the fix/fix-scrollable-content-inside-modal branch October 12, 2023 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants