fix: Universal search should auto-focus when it opens

This commit is contained in:
Ahmed Bouhuolia
2024-02-26 01:16:55 +02:00
parent 2cf75e0136
commit 0aea339c1c
4 changed files with 33 additions and 8 deletions

View File

@@ -152,6 +152,7 @@ function UniversalSearchBar({ isOpen, onSearchTypeChange, ...listProps }) {
onSearchTypeChange={onSearchTypeChange}
/>
}
autoFocus={true}
/>
{listProps.itemList}
</div>