fix: update combobox props in SpaceSelect component (#1564)

Added 'keepMounted: false' and 'dropdownPadding: 0' to comboboxProps for improved dropdown behavior and appearance in the SpaceSelect sidebar component.
This commit is contained in:
Pleasure1234
2025-09-17 20:36:12 +08:00
committed by GitHub
parent 04ae1d7270
commit fe6ecdf1f1

View File

@ -90,7 +90,7 @@ export function SpaceSelect({
nothingFoundMessage={t("No space found")}
limit={50}
checkIconPosition="right"
comboboxProps={{ width, withinPortal: true, position: "bottom" }}
comboboxProps={{ width, withinPortal: true, position: "bottom", keepMounted: false, dropdownPadding: 0 }}
dropdownOpened={opened}
/>
);