+2 votes

I'm developing a game with Godot 3 and I have a TextEdit node where the users can write their usernames.

The screen is landscape mode and the TextEdit input is almost at the bottom of the screen, when a user clicks the input on a mobile device, the virtual keyboard appears so they are able to write but:

  • The keyboard appears over the input, so the user doesn't know what he is typing

My questions are:

  • Do I need to manually move the input to the top of the screen while the virtual keyboard is present?
  • Is there a way to automatically manage this ?
  • Am I doing something wrong, or is there a better way to achieve this ?
asked May 25, 2018 in Engine by AlvaroAV (77 points)

Hi, I know this is a very old post. But I'm also having the same issue. Have you found an answer to this one?

I have to say that I ended up moving the input 'manually', mostly for mobile devices because the keyboard occupy like 70% of the screen. I just detect when the input is focused and move it to the top, and also detect when the input is no longer focused to move it back to the original place.

I see. I ended up doing the same thing. I just thought there is another way to do it.
Anyway thanks!

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.