Skip to content

Commit 3faf9c3

Browse files
[joy-ui][Button] Disable text highlighting (@mithun522) (#41905)
Co-authored-by: Mithun <[email protected]>
1 parent 6d6838d commit 3faf9c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/mui-joy/src/Button/Button.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ export const getButtonStyles = ({
139139
border: 'none',
140140
backgroundColor: 'transparent',
141141
cursor: 'pointer',
142+
userSelect: 'none',
142143
display: 'inline-flex',
143144
alignItems: 'center',
144145
justifyContent: 'center',

0 commit comments

Comments
 (0)