Skip to content

Commit

Permalink
Merge pull request #2192 from iFixit/fix-ios-safari-select-overflow-bug
Browse files Browse the repository at this point in the history
Fix ios safari select overflow bug
  • Loading branch information
deltuh-vee authored Jan 9, 2024
2 parents ac1aefd + 287aa4a commit 2d21c67
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {
BoxProps,
Circle,
Flex,
HStack,
Image,
Select,
SimpleGrid,
Expand Down Expand Up @@ -48,16 +47,15 @@ export function ProductOptions({
const selectorType = getSelectorType(option);
return (
<VStack align="stretch" key={option.id}>
<HStack>
<Text fontWeight="medium" color="gray.800">
{option.name}
{selectorType === SelectorType.SINGLE &&
`: ${option.values[0]}`}
</Text>
</HStack>
<Text fontWeight="medium" color="gray.800">
{option.name}
{selectorType === SelectorType.SINGLE &&
`: ${option.values[0]}`}
</Text>
{selectorType === SelectorType.SELECT && (
<Select
bg="white"
overflowX="hidden"
value={selected}
onChange={(event) => {
onChange(event.target.value);
Expand Down

2 comments on commit 2d21c67

@vercel
Copy link

@vercel vercel bot commented on 2d21c67 Jan 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-commerce-prod – ./frontend

react-commerce-prod.vercel.app
react-commerce-prod-ifixit.vercel.app
react-commerce-prod-git-main-ifixit.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 2d21c67 Jan 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-commerce – ./frontend

react-commerce.vercel.app
react-commerce-ifixit.vercel.app
react-commerce-git-main-ifixit.vercel.app

Please sign in to comment.