mirror of
https://github.com/plankanban/planka.git
synced 2025-08-04 21:15:25 +02:00
fix: Fix select behaviour
This commit is contained in:
parent
a148a3aae5
commit
9c192f4b5c
15 changed files with 18 additions and 18 deletions
|
@ -33,7 +33,7 @@ const ProjectAddModal = React.memo(({ defaultData, isSubmitting, onCreate, onClo
|
|||
}, [onCreate, data]);
|
||||
|
||||
useEffect(() => {
|
||||
nameField.current.select();
|
||||
nameField.current.focus();
|
||||
}, []);
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue