Update files
This commit is contained in:
@@ -508,13 +508,12 @@ export function Combobox({
|
|||||||
styles.desktopContainer,
|
styles.desktopContainer,
|
||||||
{
|
{
|
||||||
position: "absolute",
|
position: "absolute",
|
||||||
minWidth: 200,
|
minWidth: referenceWidth ?? 200,
|
||||||
width: referenceWidth ?? undefined,
|
maxWidth: 400,
|
||||||
},
|
},
|
||||||
floatingStyles,
|
floatingStyles,
|
||||||
referenceWidth === null ? { opacity: 0 } : null,
|
referenceWidth === null ? { opacity: 0 } : null,
|
||||||
typeof availableSize?.height === "number" ? { maxHeight: Math.min(availableSize.height, 400) } : null,
|
typeof availableSize?.height === "number" ? { maxHeight: Math.min(availableSize.height, 400) } : null,
|
||||||
typeof availableSize?.width === "number" ? { maxWidth: availableSize.width } : null,
|
|
||||||
]}
|
]}
|
||||||
ref={refs.setFloating}
|
ref={refs.setFloating}
|
||||||
collapsable={false}
|
collapsable={false}
|
||||||
|
|||||||
Reference in New Issue
Block a user