Skip to content

Commit

Permalink
add maxheight to select
Browse files Browse the repository at this point in the history
Signed-off-by: gitdallas <[email protected]>
  • Loading branch information
gitdallas committed Oct 4, 2023
1 parent c7a9b11 commit da050d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/app/components/SimpleSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ export const SimpleSelect: React.FC<ISimpleSelectProps> = ({
...props
}) => {
const [isOpen, setIsOpen] = useState(false);

console.log({ ...props });
return (
<Select
menuAppendTo="parent" // prevent menu from being clipped by modal edges
maxHeight={200}
placeholderText={placeholderText}
toggleAriaLabel={toggleAriaLabel}
isOpen={isOpen}
Expand Down

0 comments on commit da050d4

Please sign in to comment.