investigation missing background for modals

This commit is contained in:
Roland Osborne 2023-10-06 12:37:37 -07:00
parent 019858cbb1
commit c9c01041bf
3 changed files with 3 additions and 11 deletions

View File

@ -66,7 +66,7 @@ export function Conversation({ navigation, cardId, channelId, closeConversation,
}, []);
return (
<KeyboardAvoidingView behavior={Platform.OS === 'ios' ? 'padding' : 'height'} keyboardVerticalOffset={navigation ? 72 : 0}>
<KeyboardAvoidingView behavior={Platform.OS === 'ios' ? 'padding' : 'height'} keyboardVerticalOffset={navigation ? 100 : 0}>
<View style={styles.container}>
{ !navigation && (
<View style={styles.header}>

View File

@ -201,7 +201,6 @@ export function Profile({ drawer }) {
onRequestClose={actions.hideDetails}
>
<View style={styles.modalOverlay}>
<View style={styles.blur} />
<KeyboardAvoidingView style={styles.modalBase} behavior={Platform.OS === 'ios' ? 'padding' : 'height'}>
<View style={styles.modalContainer}>
<View style={styles.modalClose}>

View File

@ -100,11 +100,6 @@ export const styles = StyleSheet.create({
display: 'flex',
alignItems: 'center',
},
blur: {
width: '100%',
height: '100%',
backgroundColor: Colors.modalOverlay,
},
logo: {
alignSelf: 'center',
},
@ -288,14 +283,12 @@ export const styles = StyleSheet.create({
height: '100%',
},
modalBase: {
position: 'absolute',
top: 0,
left: 0,
width: '100%',
height: '100%',
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
justifyContent: 'center',
backgroundColor: Colors.modalOverlay,
},
modalContainer: {
backgroundColor: Colors.modalBase,