Virtual Keyboard Shrinks the Viewport

Hi guys,

I have been searching for possible solutions to the problem of Keyboard shrinking the viewport. But so far there has been a little success.

I have read a lot of technical discussions on the internet on this issue been originating in the past as well. But I found no credible resolution.

Though there was a snippet by the user@vejja that updated the code of @evanwillms for allowing the keyboard to open without pushing or scrolling content to newer ionic versions. Check it out here:

It did worked when viewing app on browser on ionic serve but failed to resolve the issue on android using ionic devApp.

Can someone please let me know how to go about solving this small but annoying problem?