Skip to content

Commit

Permalink
max listbox height for autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-schwartz-k committed Jul 24, 2023
1 parent 3f54346 commit e085626
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/secret.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ export default function Secret(props: ISecretProps) {
renderInput={(params) => <TextWithSave onSave={onSecretSave} value={value} {...params} />}
sx={{ width: '50%' }}
PopperComponent={CustomPopper}
ListboxProps={{
style: {
maxHeight: '500px',
},
}}
onInputChange={(_e, value) => onChange(secretsMap[value]?.value || value)}
/>
{isVerified ? (
Expand Down

0 comments on commit e085626

Please sign in to comment.