Skip to content

Commit

Permalink
Merge pull request #440 from SelectQuoteLabs/issue-439
Browse files Browse the repository at this point in the history
refactor: 💡 add required prop to make TS happy
  • Loading branch information
codyarose authored Aug 31, 2021
2 parents bd86d36 + 1f63a3a commit 4fe288f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/SQForm/SQFormAutocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ const ListboxVirtualizedComponent = React.forwardRef(
itemSize={getItemSize}
overscanCount={LIST_OVERSCAN_COUNT}
itemCount={ITEM_COUNT}
width=""
>
{renderRow}
</VariableSizeList>
Expand Down Expand Up @@ -186,7 +187,7 @@ const useAutocompleteStyles = makeStyles({
popper: {
borderRadius: '4px',
boxShadow: '0px 3px 4px 0px rgb(100 100 100)',
width: ({lockWidthToField}) => !lockWidthToField && 'auto !important',
width: ({lockWidthToField}) => (!lockWidthToField ? 'auto !important' : ''),
overflowX: 'hidden !important'
},
paper: {
Expand Down

0 comments on commit 4fe288f

Please sign in to comment.