Keyboard over popup on iOS

I have a textarea in a popup. When focus on it, the keyboard covers part of the popup so the user can’t fill the textarea.

Here is an image of the problem on iOS:

An this is how it looks on Android:

For iOS I’m using


I’m having the same issue. Is there any simple way to reposition the popup or to only make the popup scroll (making the rest of the app static) ?