From eb040fc9eaf990fff48cc1504acb7ba6076731bd Mon Sep 17 00:00:00 2001 From: amitx13 Date: Tue, 10 Sep 2024 15:47:11 +0530 Subject: [PATCH] fix: adjust dropdown behavior on selection --- src/components/MnemonicPhraseInput.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/MnemonicPhraseInput.tsx b/src/components/MnemonicPhraseInput.tsx index 7bfda540..f12dc930 100644 --- a/src/components/MnemonicPhraseInput.tsx +++ b/src/components/MnemonicPhraseInput.tsx @@ -71,6 +71,7 @@ export default function MnemonicPhraseInput({ onChange(newPhrase) updateFilteredWords(value, index) if (selectWordFromDropdown) { + setShowDropdown(null) if (!isValid) { focusNextInput(index + 1) }