problem with screen positioning when the keyboard is activated with React native

0

It happens that when the keyboard is activated, it seems to be placed over my view and this hides the input.

    
asked by Johnny Pachecp 10.05.2018 в 08:18
source

1 answer

1
render() {
    return (<KeyboardAvoidingView
        style={styles.container}
        behavior='position'
        keyboardVerticalOffset={32}>
{... tu vista ...}
</KeyboardAvoidingView>);
}

and to me it works well you can play with the keyboardVerticalOffset with positive or negative numbers as it suits you

    
answered by 28.06.2018 / 19:52
source