Skip to content

Commit a39a83a

Browse files
committed
Merge pull request #106526 from roughbits01/line-edit-select-all-web
[Web] Fix `LineEdit` `select_all_on_focus` behavior when using a virtual keyboard
2 parents 09c3b66 + 402a527 commit a39a83a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/gui/line_edit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void LineEdit::_edit(bool p_show_virtual_keyboard) {
7575
editing = true;
7676
_validate_caret_can_draw();
7777

78-
if (p_show_virtual_keyboard) {
78+
if (p_show_virtual_keyboard && !pending_select_all_on_focus) {
7979
show_virtual_keyboard();
8080
}
8181
queue_redraw();

0 commit comments

Comments
 (0)