Fix keyboard on room view on Android
This commit is contained in:
parent
b672bffb90
commit
e3a4d0853c
|
@ -56,7 +56,7 @@ export default class LoginView extends React.Component {
|
|||
|
||||
render() {
|
||||
return (
|
||||
<KeyboardAvoidingView style={styles.view} behavior='padding'>
|
||||
<KeyboardAvoidingView style={styles.view}>
|
||||
<TextInput
|
||||
style={styles.input}
|
||||
onChangeText={username => this.setState({ username })}
|
||||
|
|
|
@ -147,7 +147,7 @@ export default class RoomView extends React.Component {
|
|||
|
||||
render() {
|
||||
return (
|
||||
<KeyboardAvoidingView style={styles.container} behavior='padding' keyboardVerticalOffset={64}>
|
||||
<KeyboardAvoidingView style={styles.container}>
|
||||
<FlatList
|
||||
ref={ref => this.listView = ref}
|
||||
style={styles.list}
|
||||
|
|
Loading…
Reference in New Issue