Skip to content

Commit

Permalink
fix(input): mnemonic value state
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Feb 5, 2024
1 parent c01626b commit 5fa284a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function MnemonicWordInput({
const [isFocused, setIsFocused] = useState(false);
const isDirty = useIsFieldDirty(name);
return (
<Input.Root hasError={isDirty && !!meta.error} shrink>
<Input.Root hasError={isDirty && !!meta.error} shrink={!!value}>
<Input.Field
// Limitation of the animated label is that we cannot detect
// programatically updated inputs. Here we add an empty place holder to
Expand Down

0 comments on commit 5fa284a

Please sign in to comment.