Skip to content

Commit

Permalink
mobile: fix sign in screen being obscured by keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
ericswpark committed Feb 25, 2024
1 parent 268c4db commit 2400553
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions mobile/Screens/SignIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ export const SignIn = (props) => {
return (
<KeyboardAvoidingView
style={styles.container}
// behavior="padding"
behavior={Platform.OS === "ios" ? "padding" : null}
keyboardVerticalOffset={Platform.OS === "ios" ? 0 : 0}
behavior={Platform.OS === 'ios' ? 'padding' : 'height'}
>
<TouchableWithoutFeedback onPress={dismissKeyboard}>
<View style={styles.container}>
Expand Down Expand Up @@ -128,9 +126,7 @@ const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: Colors.INITIAL_LAUNCH_SCREEN_BG_PINK,
// alignItems: "center",
justifyContent: "center",
marginBottom: "-20%",
},
title: {
marginTop: 350,
Expand Down

0 comments on commit 2400553

Please sign in to comment.