Skip to content

Commit

Permalink
fix: adjust dropdown behavior on selection
Browse files Browse the repository at this point in the history
  • Loading branch information
amitx13 committed Sep 10, 2024
1 parent dde5514 commit eb040fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/MnemonicPhraseInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export default function MnemonicPhraseInput({
onChange(newPhrase)
updateFilteredWords(value, index)
if (selectWordFromDropdown) {
setShowDropdown(null)
if (!isValid) {
focusNextInput(index + 1)
}
Expand Down

0 comments on commit eb040fc

Please sign in to comment.