Skip to content

Commit

Permalink
fix(slider): Don't hide focus ring on discrete sliders (#1545)
Browse files Browse the repository at this point in the history
The old behavior is not in the M1 or M2 specs. Even if it was, it's terrible for accessibility and is inconsistent with the continuous slider behavior.

Resolves #1427
  • Loading branch information
acdvorak authored Nov 6, 2017
1 parent f579e0a commit 5a777af
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/mdc-slider/mdc-slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -324,11 +324,6 @@ $mdc-slider-dark-theme-grey: #5c5c5c;
.mdc-slider__thumb {
animation: none;
}

.mdc-slider__focus-ring {
transform: none;
opacity: 0;
}
}

&.mdc-slider--display-markers {
Expand Down

0 comments on commit 5a777af

Please sign in to comment.