Fixed table with horizontal scrolling not working

I have a modal with a form and when I click on the input field on an iPad, the field tries to shift upward to make space for the keyboard. Then it flickers for a second, and recenters itself as if the keyboard was not present, effectively hiding the field below the keyboard. Is there a workaround for this?