309 have comment relation picker show up above the relation field (#332)

* Added a floating ui manual offset to have the dropdown on top of the relation box

* Autofocus on dropdown search
This commit is contained in:
Lucas Bordeau
2023-06-19 15:51:35 +02:00
committed by GitHub
parent 5904a39362
commit c8c4a953c2
2 changed files with 12 additions and 2 deletions

View File

@ -55,7 +55,11 @@ export function MultipleEntitySelect({
return (
<DropdownMenu>
<DropdownMenuSearch value={searchFilter} onChange={handleFilterChange} />
<DropdownMenuSearch
value={searchFilter}
onChange={handleFilterChange}
autoFocus
/>
<DropdownMenuSeparator />
<DropdownMenuItemContainer>
{entitiesInDropdown?.map((entity) => (