Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: Items in combobox have zero height (#4737)

Ivan Starkovb09f8694efdd
diff --git a/packages/design-system/src/components/combobox.tsx b/packages/design-system/src/components/combobox.tsx
index 6d10185048..0e94ea322c 100644
--- a/packages/design-system/src/components/combobox.tsx
+++ b/packages/design-system/src/components/combobox.tsx
@@ -39,6 +39,7 @@ import { Box } from "./box";
import { Flex } from "./flex";
import { NestedInputButton } from "./nested-input-button";
import { InputField } from "./input-field";
+import { Grid } from "./grid";
export const ComboboxListbox = styled(
"ul",
@@ -62,13 +63,9 @@ export const ComboboxScrollArea = forwardRef(
) => {
return (
<ScrollArea css={{ order: 1 }} {...props}>
- <Flex
- ref={forwardRef}
- direction="column"
- css={{ maxHeight: theme.spacing[34] }}
- >
+ <Grid ref={forwardRef} css={{ maxHeight: theme.spacing[34] }}>
{children}
- </Flex>
+ </Grid>
</ScrollArea>
);
}