Skip to content

Commit

Permalink
fix(radio): cursor should be pointer except when disabled
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 574353198
  • Loading branch information
Elliott Marquez authored and copybara-github committed Oct 18, 2023
1 parent 06909e5 commit 7779987
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions radio/internal/_radio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ $_md-sys-motion: tokens.md-sys-motion-values();
width: var(--_icon-size);
// Remove highlight color for mobile Safari
-webkit-tap-highlight-color: transparent;
cursor: pointer;
}

:host([disabled]) {
cursor: default;
}

:host([touch-target='wrapper']) {
Expand Down Expand Up @@ -94,6 +99,7 @@ $_md-sys-motion: tokens.md-sys-motion-values();
margin: 0;
position: absolute;
width: 48px;
cursor: inherit;
}

:host([touch-target='none']) input {
Expand Down

0 comments on commit 7779987

Please sign in to comment.