Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
code review suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
nuo-xu committed Nov 27, 2023
1 parent 55e6bbb commit 2282ceb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Sources/BraveWallet/Crypto/Onboarding/BackupWalletView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ struct BackupWalletView: View {
return
}

// password filed resign first responder in case ScrollView gets changed
// which could effect the next step. Details see #8445
// Dismiss keyboard for password field before leaving this view #8445.
// Without dismissal, it's possible the scroll view in the detail view
// has incorrect frame (sitting above the area the keyboard used to be)
// which can show the scroll view contents out of the scroll bounds
// but will block tap interactions.
resignFirstResponder()

keyringStore.recoveryPhrase(password: password) { words in
Expand Down

0 comments on commit 2282ceb

Please sign in to comment.