Fixed footer moves above the keyboard during text input

Fixed footer moves above the keyboard during text input

I've adopted fixed toolbar design in JQM for my mobile app using 
  1. data-position="fixed"

They look just fine, except that in some devices (typically Android devices), when user tap on text input box, they keyboard shows up and the footer moves from bottom of the page to above the keyboard (that is in the middle of the page)

This doesn't happen for iOS though.
Have any of you face this issue before?

How to prevent the footer from moving above the keyboard? It would taking up too much space and left little visual area for user to see as they type.