Skip to content

Commit

Permalink
Fix(Multichain): replay modal loses focus when typing certain letters…
Browse files Browse the repository at this point in the history
… into text input (#4237)
  • Loading branch information
jmealy authored Sep 24, 2024
1 parent caf5b96 commit 8679c93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/common/NameInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const NameInput = ({
fullWidth
required={required}
className={inputCss.input}
onKeyDown={(e) => e.stopPropagation()}
{...register(name, { maxLength: 50, required })}
/>
)
Expand Down

0 comments on commit 8679c93

Please sign in to comment.