Skip to content

Commit

Permalink
fix: give absolute position to placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
skinmaker1345 committed Sep 28, 2023
1 parent 7d95fdd commit 9b1285a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/Form/Selects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ const Select: React.FC<SelectProps> = ({ placeholder, options, values, setValues
strategy={horizontalListSortingStrategy}>
<ReactSelect
styles={{
placeholder: (provided) => {
return { ...provided, position: 'absolute' }
},
control: (provided) => {
return { ...provided, border: 'none' }
},
Expand Down

0 comments on commit 9b1285a

Please sign in to comment.