title: i need to give two clicks when the keyboard is open -- React native
body: <p>I have a project in react native, i created a view that it has a button, when the user does not open the keyboard, he only gives a click, but if the keyboard opens, the user needs to gie two clicks, because when the user click at button is nos functioned. It should be hidding.</p>
  
  <p>Someone knows how the click can function, if the keyboard is open.</p>
  
  <p>The code is the next</p>
  
  <pre><code> return (
          &lt;ScrollView&gt;
        &lt;View style={LoginStyles.container_login}&gt;
          &lt;View style={LoginStyles.container_detail}&gt;
            &lt;View style={LoginStyles.container_components}&gt;
              &lt;View  style={LoginStyles.container_image}&gt;
                &lt;Image
                    style={LoginStyles.container_display_image}
                    source={logo}/&gt;
              &lt;/View&gt;
              &lt;TextInput style={LoginStyles.container_user} placeholder = {labelApp.holderUser}  onChangeText={(user) =&gt; this.checkDataEmail(user)}/&gt;
              &lt;TextInput  secureTextEntry={true}  style={LoginStyles.container_password} placeholder = {labelApp.holderPassword} onChangeText={(password) =&gt; this.checkDataPassword(password)}/&gt;
              &lt;TouchableOpacity disabled={ this.state.disabled }
                                style={this.state.disabled ? LoginStyles.button_disabled: LoginStyles.button_login}
                onPress={this.handleClickBtnEnter}
              &gt;
                &lt;Text style={LoginStyles.text_button_login}&gt;
                  {labelApp.textButtonLogin}
                &lt;/Text&gt;
              &lt;/TouchableOpacity&gt;
              &lt;Text
                style={LoginStyles.text_forgot_password}
                onPress={this.handleClickBtnEnter}
              &gt;
                {labelApp.textForgotUser}
              &lt;/Text&gt;
              &lt;Text
                style={LoginStyles.text_register}
                onPress={this.handleClickBtnEnter}
              &gt;
                {labelApp.textRegister}
              &lt;/Text&gt;
              &lt;View style={LoginStyles.container_image_share}&gt;
                &lt;Image style={LoginStyles.container_display_share}
                       source={facebook}/&gt;
                &lt;Image  style={LoginStyles.container_display_share}
                    source={google}/&gt;
              &lt;/View&gt;
              &lt;View  style={LoginStyles.container_image}&gt;
                &lt;Image
                    style={LoginStyles.container_display_register}
                    source={register}/&gt;
              &lt;/View&gt;
            &lt;/View&gt;
          &lt;/View&gt;
        &lt;/View&gt;
          &lt;/ScrollView&gt;
      );
  </code></pre>
  
  <p>The event is on TouchableOpacity</p>