Update files

This commit is contained in:
Mohamed Boudra
2026-02-04 09:35:39 +07:00
parent 7c15b26329
commit 9daec94333

View File

@@ -508,13 +508,12 @@ export function Combobox({
styles.desktopContainer,
{
position: "absolute",
minWidth: 200,
width: referenceWidth ?? undefined,
minWidth: referenceWidth ?? 200,
maxWidth: 400,
},
floatingStyles,
referenceWidth === null ? { opacity: 0 } : null,
typeof availableSize?.height === "number" ? { maxHeight: Math.min(availableSize.height, 400) } : null,
typeof availableSize?.width === "number" ? { maxWidth: availableSize.width } : null,
]}
ref={refs.setFloating}
collapsable={false}