Skip to content

Commit

Permalink
Fix: Missing className in the SelectValue component
Browse files Browse the repository at this point in the history
  • Loading branch information
andreperegrina committed Sep 1, 2024
1 parent 660060a commit b047531
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/select/src/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ const SelectValue = React.forwardRef<SelectValueElement, SelectValueProps>(
return (
<Primitive.span
{...valueProps}
className={className}
ref={composedRefs}
// we don't want events from the portalled `SelectValue` children to bubble
// through the item they came from
Expand Down

0 comments on commit b047531

Please sign in to comment.