Skip to content

Commit

Permalink
fix(select): select fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Jun 14, 2024
1 parent 8fe233d commit 77faea0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default function SelectWithNames({ productionId, idRef, coloredName }) {

return (
<Row>
<Col className="fr-mr-2w">
<Col>
<ReactSelect
options={fullName.map((name, index) => ({
value: name,
Expand All @@ -134,6 +134,8 @@ export default function SelectWithNames({ productionId, idRef, coloredName }) {
onChange={handleChange}
styles={customStyles}
placeholder={coloredName}
menuPortalTarget={document.body}
menuPosition="fixed"
/>
</Col>
</Row>
Expand Down

0 comments on commit 77faea0

Please sign in to comment.