We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I can't wrap Modal component by SafeAreaView to handle layout properly in iOS device. Have anyone ever faced this issue? Please support me. Thank you
Modal
SafeAreaView
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
any news on that?
I fixed this issue with https://github.com/miyabi/react-native-safe-area library, setting bottom on modal style:
`SafeArea.getSafeAreaInsetsForRootView().then((result) => { const bottom = Platform.OS === 'ios' ? result.safeAreaInsets.bottom : 0; this.setState({ bottom }); });`
and:
`<Modal style={[styles.modalContainer, { bottom }]} isOpen={isOpen} position="bottom" backButtonClose={false} backdrop={false} swipeToClose={false} > <Text style={styles.modalText}> {sdText}, {userName} </Text>`
Hope this helps!
No branches or pull requests
I can't wrap
Modal
component bySafeAreaView
to handle layout properly in iOS device. Have anyone ever faced this issue? Please support me. Thank youThe text was updated successfully, but these errors were encountered: