mirror of
https://code.gri.mw/GUI/grim.git
synced 2026-07-13 18:28:55 +00:00
fix: focus on text edit touch
This commit is contained in:
@@ -431,6 +431,7 @@ impl View {
|
||||
.ui(ui);
|
||||
// Show keyboard on click.
|
||||
if text_edit_resp.clicked() {
|
||||
text_edit_resp.request_focus();
|
||||
cb.show_keyboard();
|
||||
}
|
||||
// Setup focus on input field.
|
||||
|
||||
@@ -665,6 +665,7 @@ impl WalletMessages {
|
||||
.response;
|
||||
// Show soft keyboard on click.
|
||||
if response_empty && resp.clicked() {
|
||||
resp.request_focus();
|
||||
cb.show_keyboard();
|
||||
}
|
||||
if response_empty && resp.has_focus() {
|
||||
|
||||
@@ -855,6 +855,7 @@ impl WalletTransactions {
|
||||
.show(ui).response;
|
||||
// Show soft keyboard on click.
|
||||
if self.tx_info_finalize && resp.clicked() {
|
||||
resp.request_focus();
|
||||
cb.show_keyboard();
|
||||
}
|
||||
if self.tx_info_finalize && resp.has_focus() {
|
||||
|
||||
Reference in New Issue
Block a user