Move Textbox up on Focus | Ionic 3

I have a textbox fixed at bottom of screen. On focus keyboard opens and cover that textbox.

What I want is to move texbox upward on focus so that it appears just above the keyboard. Problem is all phones doesn’t have same size of onscreen keyboards. So how I can achieve this thing??