Input loses focus when Soft keyboard appears


Html Code :

           <ion-view >
<ion-content class="login_bg">
        <div class="login_logo"><img src="img/login_logo.png" alt=""></div>
    <div class="register_page">

        <input type="email" name="name" placeholder="Email" ng-model="login_info.forgetmail" ng-enter="forgetPassword()" />

        <div class="clearfix">
            <a  class="signup" ng-click="forgetPassword()">Submit</a>


Problem : when i type text on input field the soft keyboard appears but input field loses focus. I have to retype again their. Please help me in this. :blush: