Add auto-focus to search input
This commit is contained in:
parent
7e2d9bd585
commit
34870556b4
1 changed files with 1 additions and 0 deletions
|
@ -121,6 +121,7 @@ export const CommandPalette = ({ modalProps }: CommandPaletteProps) => {
|
||||||
>
|
>
|
||||||
<TextInput
|
<TextInput
|
||||||
ref={searchInputRef}
|
ref={searchInputRef}
|
||||||
|
data-autoFocus
|
||||||
icon={<RiSearchLine />}
|
icon={<RiSearchLine />}
|
||||||
rightSection={
|
rightSection={
|
||||||
<ActionIcon
|
<ActionIcon
|
||||||
|
|
Reference in a new issue