mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-24 06:45:17 +01:00
allow search to be auto-focused
This commit is contained in:
parent
db18519c16
commit
3c2880e4ba
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user