Skip to content

Commit

Permalink
Prevent user selection for items text
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Jun 26, 2024
1 parent e737332 commit 88a2040
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/custom-select-control-v2/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ export const SelectItem = styled( Ariakit.SelectItem )`
// TODO: reassess for non-legacy v2
line-height: calc( 28px / ${ CONFIG.fontSize } );
user-select: none;
&[aria-disabled='true'] {
opacity: 0.5;
}
Expand Down

0 comments on commit 88a2040

Please sign in to comment.