Skip to content

Commit

Permalink
🐛 fix issue with select menu getting cut by edge of modal (#1428)
Browse files Browse the repository at this point in the history
  • Loading branch information
gitdallas authored Oct 5, 2023
1 parent 218133d commit 8277208
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,9 +37,10 @@ export const SimpleSelect: React.FC<ISimpleSelectProps> = ({
...props
}) => {
const [isOpen, setIsOpen] = useState(false);

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 8277208

Please sign in to comment.