Skip to content

Instantly share code, notes, and snippets.

@rkueny
Created May 1, 2017 09:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rkueny/20ddd62edc14cac7a3b021318b76a3af to your computer and use it in GitHub Desktop.
Save rkueny/20ddd62edc14cac7a3b021318b76a3af to your computer and use it in GitHub Desktop.
Comment régler le soucis du keyboard qui cache l'input ?
render() {
return (
<KeyboardAwareScrollView>
<View style={styles.container}>
<Text style={styles.welcome}>
Welcome to React Native!
</Text>
<Text style={styles.instructions}>
To get started, edit index.ios.js
</Text>
<Text style={styles.instructions}>
Press Cmd+R to reload,{'\n'}
Cmd+D or shake for dev menu
</Text>
<TextInput style={styles.textInput} />
</View>
</KeyboardAwareScrollView>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment