diff --git a/site/src/components/MultiSelectCombobox/MultiSelectCombobox.tsx b/site/src/components/MultiSelectCombobox/MultiSelectCombobox.tsx index 87febd8db3f..3bfc8667df0 100644 --- a/site/src/components/MultiSelectCombobox/MultiSelectCombobox.tsx +++ b/site/src/components/MultiSelectCombobox/MultiSelectCombobox.tsx @@ -355,7 +355,7 @@ export const MultiSelectCombobox: React.FC = ({ return; } - listRef.current.scrollIntoView({ behavior: "smooth" }); + listRef.current.scrollIntoView({ block: "nearest", behavior: "smooth" }); }, [open]); const CreatableItem = () => { @@ -598,13 +598,14 @@ export const MultiSelectCombobox: React.FC = ({ -
+
{open && ( { setOnScrollbar(false); }}