This commit is contained in:
2025-07-04 19:38:14 +05:00
parent 9425dde7b9
commit 6c15093ebc
2 changed files with 106 additions and 100 deletions

View File

@@ -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>

View File

@@ -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,