From 3faf9c30ce3672430d9185763e1c9a1200394216 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 15:40:24 +0530 Subject: [PATCH] [joy-ui][Button] Disable text highlighting (@mithun522) (#41905) Co-authored-by: Mithun <76867392+mithun522@users.noreply.github.com> --- packages/mui-joy/src/Button/Button.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/mui-joy/src/Button/Button.tsx b/packages/mui-joy/src/Button/Button.tsx index 75f3d037825f8d..30638d94f6730a 100644 --- a/packages/mui-joy/src/Button/Button.tsx +++ b/packages/mui-joy/src/Button/Button.tsx @@ -139,6 +139,7 @@ export const getButtonStyles = ({ border: 'none', backgroundColor: 'transparent', cursor: 'pointer', + userSelect: 'none', display: 'inline-flex', alignItems: 'center', justifyContent: 'center',