Keyboard covers alert dialogue

I am trying to get a simple alert dialogue with a single text input to show with the keyboard. The issue that the app I am working on will ALWAYS be in landscape mode. When putting focus on the text field on the alert, it bring up the keyboard, but on some devices the keyboard completely hides the input so the user does not see what they are typing.

I am doing a simple alert like here.
Upon opening the keyboard the alert dialog box does not get pushed up from the keyboard and instead stays where it was originally opened. How can I get the alert dialogue to push up with the keyboard so the user can see what they are typing?

Same issue on huawei mediapad t3.

Hello,

Were you ever able to find a solution for this issue? I am having a similar issue with the open keyboard cutting off alert buttons on an android device.