Keyboard hides and leaves blank space

Hello there,

I’m using the following versions in my project:
@ionic-native/app-version”: “^5.13.0”,
@ionic-native/core”: “^5.13.0”,
@ionic-native/keyboard”: “^5.14.0”,
@ionic-native/screen-orientation”: “^5.14.0”,
@ionic-native/splash-screen”: “^5.13.0”,
@ionic-native/status-bar”: “^5.13.0”,
@ionic/angular”: “^4.10.0-dev.201909061231.2ea728e”,
@ionic/storage”: “^2.2.0”,

The strange version of @ionic/angular is because there was a bugfix in that release.

When running my app in a mobile device is happening this issue:

  1. I access the login page and fill out the user and pass inputs and send the form pressing the “Enter key” in the keyboard.
  2. When it resolves the POST request and navigates to the menu page, as the keyboard hasn’t been hidden, the app hides it but in its place leaves a blank space throughout the pages.

I run the same flow on Chrome in my PC and it doesn’t happen and neither in the android emulator, it only happens in Chrome on the mobile device and in the apk on the phone.

I couldn’t fix this in any way I could find so if you guys could help me, please, I would be so thankful.

Update: I’ve just seen that if I comment the html code relative to ion-header and other element working as a false hader (both html code before ion-content), the blank space no longer appears.