Skip to content

Commit

Permalink
Merge pull request #1241 from yaacov/dont-auto-focus
Browse files Browse the repository at this point in the history
🐞 Dont focus on input texts when edit modal open
  • Loading branch information
yaacov authored Jun 26, 2024
2 parents bef91a6 + 06d3acd commit 62640bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export const EditModal: React.FC<EditModalProps> = ({
>
{t('Save')}
</Button>,
<Button key="cancel" variant="secondary" onClick={toggleModal}>
<Button key="cancel" variant="secondary" onClick={toggleModal} autoFocus>
{t('Cancel')}
</Button>,
];
Expand Down

0 comments on commit 62640bb

Please sign in to comment.