update
This commit is contained in:
@@ -11,6 +11,8 @@ import {
|
|||||||
ScrollView,
|
ScrollView,
|
||||||
TouchableWithoutFeedback,
|
TouchableWithoutFeedback,
|
||||||
Keyboard,
|
Keyboard,
|
||||||
|
KeyboardAvoidingView,
|
||||||
|
Platform,
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
import { Ionicons } from '@expo/vector-icons';
|
import { Ionicons } from '@expo/vector-icons';
|
||||||
import Input from './Input';
|
import Input from './Input';
|
||||||
@@ -199,6 +201,10 @@ const EditProfileModal = ({
|
|||||||
onRequestClose={handleClose}
|
onRequestClose={handleClose}
|
||||||
>
|
>
|
||||||
<SafeAreaView style={styles.container}>
|
<SafeAreaView style={styles.container}>
|
||||||
|
<KeyboardAvoidingView
|
||||||
|
behavior={Platform.OS === 'ios' ? 'padding' : undefined}
|
||||||
|
style={{ flex: 1 }}
|
||||||
|
>
|
||||||
<TouchableWithoutFeedback onPress={Keyboard.dismiss}>
|
<TouchableWithoutFeedback onPress={Keyboard.dismiss}>
|
||||||
<View style={styles.content}>
|
<View style={styles.content}>
|
||||||
{/* Header */}
|
{/* Header */}
|
||||||
@@ -306,6 +312,7 @@ const EditProfileModal = ({
|
|||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
</TouchableWithoutFeedback>
|
</TouchableWithoutFeedback>
|
||||||
|
</KeyboardAvoidingView>
|
||||||
|
|
||||||
{renderPassportSeriesPicker()}
|
{renderPassportSeriesPicker()}
|
||||||
</SafeAreaView>
|
</SafeAreaView>
|
||||||
|
|||||||
@@ -103,7 +103,6 @@ const styles = StyleSheet.create({
|
|||||||
backgroundColor: COLORS.backgroundSecondary,
|
backgroundColor: COLORS.backgroundSecondary,
|
||||||
},
|
},
|
||||||
header: {
|
header: {
|
||||||
backgroundColor: COLORS.white,
|
|
||||||
paddingHorizontal: 24,
|
paddingHorizontal: 24,
|
||||||
paddingTop: 16,
|
paddingTop: 16,
|
||||||
paddingBottom: 24,
|
paddingBottom: 24,
|
||||||
|
|||||||
Reference in New Issue
Block a user