Skip to main content
Ionic

Ionic: Hitting back when keyboard is open creates space at bottom

By October 13, 2019January 14th, 2020No Comments

Before the $ionicHistory.goBack(); I’m checking if the keyboard is open. If the keyboard is open, close it, wait for it to be closed and then do $ionicHistory.goBack().

This seems to be issue if the last / current view has resize mode set to ionic.

More about the keyboard:

https://github.com/ionic-team/cordova-plugin-ionic-keyboard