Virtual Keyboard keeps popping up

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Scavex

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 ?