Skip to content

Commit

Permalink
fix(llm): do not lose the input focus randomly
Browse files Browse the repository at this point in the history
  • Loading branch information
thesan committed Dec 11, 2024
1 parent 7c38152 commit 6954821
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ export default function SendSelectRecipient({ navigation, route }: Props) {
<memoTag.Input
testID="memo-tag-input"
placeholder={t("send.summary.memo.title")}
autoFocus={memoTagDrawerState === MemoTagDrawerState.SHOWN}
autoFocus={memoTagDrawerState !== MemoTagDrawerState.INITIAL}
onChange={memoTag.handleChange}
/>
<Text mt={4} pl={2} color="alert">
Expand Down

0 comments on commit 6954821

Please sign in to comment.