Skip to content

Commit

Permalink
fix(odyssey-react-mui): ensure pointer events are disabled when Butto…
Browse files Browse the repository at this point in the history
…n is
  • Loading branch information
edburyenegren-okta committed May 4, 2023
1 parent 7ca6827 commit bfd162f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/odyssey-react-mui/src/theme/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,6 @@ export const components: ThemeOptions["components"] = {
outlineOffset: "1px",
},

"&:disabled": {
cursor: "not-allowed",
pointerEvents: "inherit", // in order to have cursor: not-allowed, must change pointer-events from "none"
},

[`.${buttonClasses.startIcon}, .${buttonClasses.endIcon}`]: {
"& > *:nth-of-type(1)": {
fontSize: `${theme.typography.ui.lineHeight}em`,
Expand Down

0 comments on commit bfd162f

Please sign in to comment.