diff --git a/react-native/ChatApp/components/CreateDiscussionScreen.js b/react-native/ChatApp/components/CreateDiscussionScreen.js index 7f29c361421e706db6a0bd49d0752cdccf08e226..09f45f5da7cfb45f23ac53db2fc1d3dbf8db7fd2 100644 --- a/react-native/ChatApp/components/CreateDiscussionScreen.js +++ b/react-native/ChatApp/components/CreateDiscussionScreen.js @@ -58,7 +58,7 @@ class CreateDiscussionScreen extends React.Component { else return ( <KeyboardAvoidingView - behavior="height" + behavior="padding" style={{flex:1, alignItems: 'center', justifyContent: 'center' }} > diff --git a/react-native/ChatApp/components/LoginScreen.js b/react-native/ChatApp/components/LoginScreen.js index 9572b2f24afc4c9e3c8819332fa0bb914a666989..5cf31f1ef110fec4112465ab94f4dcc755cbc6ab 100644 --- a/react-native/ChatApp/components/LoginScreen.js +++ b/react-native/ChatApp/components/LoginScreen.js @@ -30,7 +30,7 @@ class LoginScreen extends React.Component { render() { return ( <KeyboardAvoidingView - behavior="height" + behavior="padding" > <View style={{ height: windowHeight/3, alignItems: 'center', justifyContent: 'center' }}> <Text h1>Connexion</Text> diff --git a/react-native/ChatApp/components/SignupScreen.js b/react-native/ChatApp/components/SignupScreen.js index 5d1711f96dd6909e0203293fa83c4463e4cfd20a..0b562acfb97c2d9b30d82b17c2a162744b8057fd 100644 --- a/react-native/ChatApp/components/SignupScreen.js +++ b/react-native/ChatApp/components/SignupScreen.js @@ -31,7 +31,7 @@ class SignupScreen extends React.Component { render() { return ( <KeyboardAvoidingView - behavior="height" + behavior="padding" > <View style={{ height: windowHeight/3, alignItems: 'center', justifyContent: 'center' }}> <Text h1>Inscription</Text> diff --git a/react-native/ChatApp/components/UpdateDiscussionScreen.js b/react-native/ChatApp/components/UpdateDiscussionScreen.js index ba15dde694397693d7e0283c868ceef7589d6586..655f2e4d172b9146b5789ffce8e019e24e2d90cd 100644 --- a/react-native/ChatApp/components/UpdateDiscussionScreen.js +++ b/react-native/ChatApp/components/UpdateDiscussionScreen.js @@ -61,7 +61,7 @@ class UpdateDiscussionScreen extends React.Component { else return ( <KeyboardAvoidingView - behavior="height" + behavior="padding" style={{flex:1, alignItems: 'center', justifyContent: 'center' }} >