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 ...@@ -95,7 +95,11 @@ const UserLoginScreen: MainStackScreenComponentProps<"userLoginScreen"> = ({ nav
</Box> </Box>
</Box> </Box>
<ContainerBorderTopCurved> <ContainerBorderTopCurved>
<KeyboardAwareScrollView extraScrollHeight={50}> <KeyboardAwareScrollView
onKeyboardDidShow={() => {
log.debug("Keyboard did show");
}}
>
<Box p={"l"} paddingTop={"x100"} mb={"s"}> <Box p={"l"} paddingTop={"x100"} mb={"s"}>
<Box mb={"l"}> <Box mb={"l"}>
<Text fontSize={40} fontWeight={"bold"} variant={"black"}> <Text fontSize={40} fontWeight={"bold"} variant={"black"}>
...@@ -110,14 +114,14 @@ const UserLoginScreen: MainStackScreenComponentProps<"userLoginScreen"> = ({ nav ...@@ -110,14 +114,14 @@ const UserLoginScreen: MainStackScreenComponentProps<"userLoginScreen"> = ({ nav
// value={email} // value={email}
autoCorrect={false} autoCorrect={false}
textContentType="emailAddress" textContentType="emailAddress"
onChangeText={setEmail} onChangeText={(email) => setEmail(email)}
/> />
<InputWithTopLabel <InputWithTopLabel
label="Mot de passe" label="Mot de passe"
secureTextEntry={true} secureTextEntry={true}
textContentType="oneTimeCode" textContentType="oneTimeCode"
// value={password} // value={password}
onChangeText={setPassword} onChangeText={(text) => setPassword(text)}
/> />
</Box> </Box>
</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