Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

fix(ripple): Apply will-change to surface rather than pseudo-elements #1872

Merged
merged 2 commits into from
Jan 5, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/mdc-ripple/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
--mdc-ripple-fg-translate-start: 0;

-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
will-change: transform, opacity;

&::before,
&::after {
Expand All @@ -36,7 +37,6 @@
opacity: 0;
pointer-events: none;
content: "";
will-change: transform, opacity;
}

&::before {
Expand Down