allow search to be auto-focused
This commit is contained in:
1 parent
db18519c16
commit
3c2880e4ba
1 file changed
+2
@@ -69,6 +69,8 @@ export default function Search({ options }) {
|
||||
autoCapitalize="off"
|
||||
autoCorrect="off"
|
||||
autoComplete="off"
|
||||
// eslint-disable-next-line jsx-a11y/no-autofocus
|
||||
autoFocus={options.focus}
|
||||
/>
|
||||
<button
|
||||
type="submit"
|
||||
|
||||
Reference in new issue
Block a user