Skip to content

Commit

Permalink
fix: select propagation (#4085)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg authored Jun 3, 2024
1 parent 22d371b commit 0e16068
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions frontend/web/project/project-components.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,17 @@ global.Select = class extends PureComponent {
))}
</div>
) : (
<Select
className={`react-select ${props.size ? props.size : ''}`}
classNamePrefix='react-select'
{...props}
/>
<div
onClick={(e) => {
e.stopPropagation()
}}
>
<Select
className={`react-select ${props.size ? props.size : ''}`}
classNamePrefix='react-select'
{...props}
/>
</div>
)
}
}

0 comments on commit 0e16068

Please sign in to comment.