1
0
mirror of https://github.com/uetchy/namae.git synced 2025-07-02 06:20:02 +09:00

Merge pull request #138 from jonahsnider/autofocus

feat: autofocus text input in `Form` component
This commit is contained in:
uetchy 2022-03-06 01:07:34 +09:00 committed by GitHub
commit 6939699c5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,7 @@ const InputView = styled.input.attrs({
autocorrect: 'off', autocorrect: 'off',
autocapitalize: 'off', autocapitalize: 'off',
spellcheck: 'false', spellcheck: 'false',
autoFocus: true,
})` })`
width: 100%; width: 100%;
border: none; border: none;