Skip to content

Commit

Permalink
fix(Select): set isScrollable internally (#10320)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamviktora authored May 10, 2024
1 parent 3c33eb9 commit 3970897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-core/src/components/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const SelectBase: React.FunctionComponent<SelectProps & OUIAProps> = ({
}}
isPlain={isPlain}
selected={selected}
isScrollable={isScrollable}
isScrollable={isScrollable ?? (menuHeight !== undefined || maxMenuHeight !== undefined)}
{...getOUIAProps(
Select.displayName,
props.ouiaId !== undefined ? props.ouiaId : getDefaultOUIAId(Select.displayName),
Expand Down

0 comments on commit 3970897

Please sign in to comment.