Skip to content

Commit

Permalink
fix(InputWithSuggestions): align dropdown below field
Browse files Browse the repository at this point in the history
  • Loading branch information
TheChristophe committed Sep 14, 2023
1 parent 3502cb9 commit 84f1d68
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions components/InputWithSuggestions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,7 @@ const InputWithSuggestions: FC<PropsWithChildren<InputWithSuggestionsProps>> = (
};

return (
<Dropdown
as={InputGroup}
onSelect={(k) => {
updateInput(k ?? '');
}}
>
<Dropdown as={InputGroup} onSelect={(k) => updateInput(k ?? '')} align="end">
<FormControl
placeholder={placeholder}
aria-label={placeholder ?? 'Input field with suggestions'}
Expand Down

0 comments on commit 84f1d68

Please sign in to comment.