mirror of
https://github.com/plankanban/planka.git
synced 2025-07-29 10:09:44 +02:00
fix: Fix select behaviour
This commit is contained in:
parent
1329da3fe5
commit
5ac99c9d1d
15 changed files with 18 additions and 18 deletions
|
@ -37,7 +37,7 @@ const TextFileAddModal = React.memo(({ content, onCreate, onClose }) => {
|
|||
}, [content, onCreate, onClose, data]);
|
||||
|
||||
useEffect(() => {
|
||||
nameField.current.select();
|
||||
nameField.current.focus();
|
||||
}, []);
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue