From 9d6a4c42f7ba5bb5774d798a4e04228c28be17c9 Mon Sep 17 00:00:00 2001 From: Jonah Snider Date: Sun, 2 Jan 2022 22:53:10 -0800 Subject: [PATCH] feat: autofocus text input in `Form` component --- src/components/Form.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Form.tsx b/src/components/Form.tsx index 55c61e8..59bc92a 100644 --- a/src/components/Form.tsx +++ b/src/components/Form.tsx @@ -124,6 +124,7 @@ const InputView = styled.input.attrs({ autocorrect: 'off', autocapitalize: 'off', spellcheck: 'false', + autofocus: '', })` width: 100%; border: none;