0 votes

Hello guy, I am in a situation where I am using LineEdit to input user's name and once the name is entered I don't want the LineEdit to show up again. I am using LineEdit as
a child of Popup so I check if my player name is null or not. If it is I display popup with LineEdit otherwise I hide the popup. The issue is that when popup hides the virtual keyboard still appears. I tried using set_virtual_keyboard_enabled(value) on my LineEdit but the keyboard still appears. The only way I reached closer to hiding the virtual keyboard was by using OS.hide_virtual_keyboard() but the issue with this is that the keyboard first appears and then disappears. It feels very weird. Is there any other way for me to disable the virtual keyboard so that it doesn't keep showing up once the player name is available ?

in Engine by (415 points)

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.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.