Keyboard pushes the input up and it dose not comes back to original

When i tap on input keyboard opens and pushes the control up.
That is fine but when i tap outside the keyboard goes off and it take sometime to come to original position and sometimes it doesn’t come back to original position.

Ionic info -

cli packages:
    @ionic/cli-utils  : 1.19.0
    ionic (Ionic CLI) : 3.19.0

global packages:
    cordova (Cordova CLI) : 7.1.0

local packages:
    @ionic/app-scripts : 3.1.5
    Cordova Platforms  : android 6.3.0
    Ionic Framework    : ionic-angular 3.9.2

    Android SDK Tools : 26.1.1
    Node              : v8.9.0
    npm               : 5.6.0
    OS                : Windows 10

    backend : pro

My Code - login.html

<ion-content class="login-background">
  <ion-grid no-padding>
    <ion-row responsive-sm>
      <ion-col text-center>
        <h1>Company Logo</h1>
    <ion-row responsive-sm>
        <ion-list padding>
            <ion-label color="primary"><ion-icon name="person"></ion-icon></ion-label>
            <ion-input placeholder="Email" type="email"></ion-input>
            <ion-label color="primary"><ion-icon name="key"></ion-icon></ion-label>
            <ion-input placeholder="Password" type="password"></ion-input>
          <ion-item text-center>
            <button ion-button color="secondary" large block>Login</button>


page-login {
  ion-grid {
    height: 100%;
    justify-content: center;


import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';

 * Generated class for the LoginPage page.
 * See for more info on
 * Ionic pages and navigation.

  selector: 'page-login',
  templateUrl: 'login.html',
export class LoginPage {

  constructor(public navCtrl: NavController, public navParams: NavParams) {

  ionViewDidLoad() {
    console.log('ionViewDidLoad LoginPage');