mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-05 17:23:28 +00:00
Merge pull request #9783 from overleaf/jel-focus-copy-project-input
[web] Add auto focus to clone project input GitOrigin-RevId: f78313437956d6fb0c3125ca0adf825235c37fa6
This commit is contained in:
parent
8b19b6107a
commit
f2748c13d7
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
/* eslint-disable jsx-a11y/no-autofocus */
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { useMemo, useState } from 'react'
|
import { useMemo, useState } from 'react'
|
||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
|
@ -83,6 +84,7 @@ export default function CloneProjectModalContent({
|
||||||
required
|
required
|
||||||
value={clonedProjectName}
|
value={clonedProjectName}
|
||||||
onChange={event => setClonedProjectName(event.target.value)}
|
onChange={event => setClonedProjectName(event.target.value)}
|
||||||
|
autoFocus
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue