1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Merge pull request #98012 from syntaxerror247/lineEdit-bug-fix

Fix uneditable `LineEdit`, `TextEdit` and `CodeEdit` virtual keyboard popup on mobile
This commit is contained in:
Thaddeus Crews
2024-11-27 10:47:15 -06:00
2 changed files with 9 additions and 3 deletions

View File

@@ -1605,7 +1605,9 @@ void TextEdit::_notification(int p_what) {
draw_caret = true;
}
_show_virtual_keyboard();
if (editable) {
_show_virtual_keyboard();
}
} break;
case NOTIFICATION_FOCUS_EXIT: {
@@ -2008,7 +2010,9 @@ void TextEdit::gui_input(const Ref<InputEvent> &p_gui_input) {
}
}
_show_virtual_keyboard();
if (editable) {
_show_virtual_keyboard();
}
}
}