Skip to content

Commit

Permalink
fix(@desktop/sendModel): Use tab to focus to next field (#12571)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuteivist committed Oct 30, 2023
1 parent ccd8c5b commit 7de6eaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/imports/shared/popups/send/SendModal.qml
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,8 @@ StatusDialog {

formatCurrencyAmount: d.currencyStore.formatCurrencyAmount
onReCalculateSuggestedRoute: popup.recalculateRoutesAndFees()
input.input.tabNavItem: recipientLoader.item
Keys.onTabPressed: event.accepted = true
}

// Horizontal spacer
Expand Down
1 change: 1 addition & 0 deletions ui/imports/shared/popups/send/views/RecipientView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ Loader {
}
}
}
Keys.onTabPressed: event.accepted = true
Keys.onReleased: {
let plainText = store.plainText(input.edit.text)
if(!plainText) {
Expand Down

0 comments on commit 7de6eaa

Please sign in to comment.