Skip to content

Commit

Permalink
fix(search): initial focus
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Mar 20, 2022
1 parent e76c1f6 commit 3a19f8b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ function close () {
// Autofocus
const input = ref<HTMLInputElement>()
const { focused } = useFocus({
target: input,
const { focused } = useFocus(input, {
initialValue: true,
})
Expand Down

0 comments on commit 3a19f8b

Please sign in to comment.