You need to sign in or sign up before continuing.
Commit cdf2a4fb by G

use arrow function to test something about rerenders. not behaving like i had hoped

parent e239a097
......@@ -95,7 +95,11 @@ const UserLoginScreen: MainStackScreenComponentProps<"userLoginScreen"> = ({ nav
</Box>
</Box>
<ContainerBorderTopCurved>
<KeyboardAwareScrollView extraScrollHeight={50}>
<KeyboardAwareScrollView
onKeyboardDidShow={() => {
log.debug("Keyboard did show");
}}
>
<Box p={"l"} paddingTop={"x100"} mb={"s"}>
<Box mb={"l"}>
<Text fontSize={40} fontWeight={"bold"} variant={"black"}>
......@@ -110,14 +114,14 @@ const UserLoginScreen: MainStackScreenComponentProps<"userLoginScreen"> = ({ nav
// value={email}
autoCorrect={false}
textContentType="emailAddress"
onChangeText={setEmail}
onChangeText={(email) => setEmail(email)}
/>
<InputWithTopLabel
label="Mot de passe"
secureTextEntry={true}
textContentType="oneTimeCode"
// value={password}
onChangeText={setPassword}
onChangeText={(text) => setPassword(text)}
/>
</Box>
</Box>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment