Skip to content

Commit

Permalink
fix: auto focus folder creation modal input (#17111)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrykBuniX authored Mar 20, 2024
1 parent cdc2a34 commit 9d9bfb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/script/components/Modals/PrimaryModal/PrimaryModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ export const PrimaryModalComponent: FC = () => {
</label>

<input
ref={ref => ref?.focus()}
maxLength={64}
className="modal__input"
id="modal-input"
Expand Down

0 comments on commit 9d9bfb3

Please sign in to comment.