fix: focus on text edit touch
This commit is contained in:
parent
7fb19619cf
commit
b91e90237a
3 changed files with 3 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue