Skip to content

Keyboard pushes Navigation Bar off the screen #454

Closed
@jayesbe

Description

@jayesbe

I am trying to create a layout with a text input at the bottom and a header at the top (chat window)

When the keyboard is not displayed, the layout looks as expected.

The scene is similar to this

<View style={{flex: 1}}>
     <View style={[position: 'absolute', top: 0, left: 0, right: 0, height: 50]}>

     </View>
     <View style={[position: 'absolute', bottom: 0, left: 0, right: 0, height: 50]}>
         <TextInput />
     </View>
<View>

When the TextInput gains focus and the keyboard is displayed, the TextInput sits right on top of the keyboard as expected.

However the element positioned at the top is pushed off the screen at the top.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions