Ich habe TextInput am unteren Rand des Bildschirms. Wenn TextInput fokussiert ist, wird die Tastatur angezeigt und dadurch wird die gesamte Ansicht auf den verfügbaren Bildschirm verkleinert. Ich möchte erreichen, dass das Seitenlayout sich nicht ändert und die Eingabe für den Benutzer sichtbar sein sollte.Native Soft Keyboard reagieren Problem
<View style={MainView}>
<View style={subMain1}>
<View style={{flex:1,backgroundColor:'#add264'}}></View>
<View style={{flex:1,backgroundColor:'#b7d778'}}></View>
<View style={{flex:1,backgroundColor:'#c2dd8b'}}></View>
</View>
<View style={subMain2}>
<View style={{flex:1,backgroundColor:'#cce39f'}}></View>
<View style={{flex:1,backgroundColor:'#d6e9b3'}}></View>
<View style={{flex:1,backgroundColor:'#69ee9a'}}>
<TextInput placeholder="input field"/>
</View>
</View>
</View>
const Styles = {
MainView:{
flex:1,
backgroundColor:'green'
},
subMain1:{
flex:1,
backgroundColor:'blue'
},
subMain2:{
flex:1,
backgroundColor:'orange'
}