2017-09-04 16 views
1

どのように私はこの問題を解決することができ、テキスト入力に入ったとき、この問題キーボードが重なっresloveことができます。ここでは、どのように私は私が

コード

<View style={styles.container}> 
      <View style={styles.Subcontainer}> 
     <ScrollView contentContainerStyle={styles.scrolViewFlex} ref='scrollView' automaticallyAdjustContentInsets={true} showsHorizontalScrollIndicator={true} showsVerticalScrollIndicator={true}> 
      <View style={styles.logoView}> 
       <Image source={require('@images/Icon_K.png')} style={styles.imageStyles} /> 
      </View> 
     <View style={styles.textInputView}> 
     <ActivityIndicator 
        animating = {this.state.animating} 
        color = '#494949' 
        size = "large" 
        style = {styles.activityIndicator} 
        /> 

     <View style={styles.namesContainer}> 
      {/*<View style={styles.exploreContainerDirection}> */} 
      <View style={styles.pincodeContainer}> 
       <TextInput 
        underlineColorAndroid="transparent" 
        autoCapitalize="words" 
        style={[styles.firstnameTextInput,{borderColor:this.state.backgroundColor,color: this.state.color}]} 
        placeholder=" First Name" 
        placeholderTextColor="#494949" 
        returnKeyType='next' 
        onChangeText={this.handleChange.bind(this,'FirstName')} 
        value={this.state.updateAccountValues.FirstName} 
        onFocus={this.inputFocused.bind(this,'FirstName')} 
        onSubmitEditing={(event)=>{ 
        this.refs.SecondInput.focus(); 
        }}/> 
      </View> 
      <View style={styles.spaceview}/> 
      <View style={styles.mobileNoContainer}> 
       <TextInput 
        underlineColorAndroid="transparent" 
        autoCapitalize="words" 
        ref="SecondInput" 
        style={[styles.lastnametextInput,{borderColor:this.state.backgroundColor,color: this.state.color}]} 
        placeholder=" Last Name" 
        placeholderTextColor="#494949" 
        returnKeyType='next' 
        onChangeText={this.handleChange.bind(this,'LastName')} 
        onFocus={this.inputFocused.bind(this,'LastName')} 
        value={this.state.updateAccountValues.LastName} 
        onSubmitEditing={(event)=>{ 
        this.refs.ThirdInput.focus(); 
        }}/> 
      </View> 
      {/* </View>*/} 
      </View> 
    </ScrollView> 
    </View> 

    </View> 

を以下のような

キーボード重複iがTextInputのキーボードで入力したときに、これは私の画面短いです

ので、画面の下にこのようないくつかの回をappers、それを確認してください一度私たちの私の問題を見つける

+0

ファイル – wlisrausr

+0

は、コードは、ITO NCE – Lavaraju

+0

あなたが正確に達成したい何をチェック追加いくつかのコードを入力してください? – wlisrausr

答えて