diff --git a/src/components/Select/components/SelectControl/SelectControl.tsx b/src/components/Select/components/SelectControl/SelectControl.tsx index a67140100f..d0bab5c32c 100644 --- a/src/components/Select/components/SelectControl/SelectControl.tsx +++ b/src/components/Select/components/SelectControl/SelectControl.tsx @@ -69,6 +69,7 @@ export const SelectControl = React.forwardRef((props, onKeyDown, onClick: handleClick, ref: handleControlRef, + open: Boolean(open), }); } diff --git a/src/components/Select/types.ts b/src/components/Select/types.ts index 1b4764bba1..b2bb1fb3b3 100644 --- a/src/components/Select/types.ts +++ b/src/components/Select/types.ts @@ -12,6 +12,7 @@ export type SelectProps = QAProps & onClick: (e: React.MouseEvent) => void; onKeyDown: (e: React.KeyboardEvent) => void; ref: React.Ref; + open: boolean; }) => React.ReactElement; renderFilter?: (props: { onChange: (filter: string) => void;