Skip to content

fix(ripple): remove webkit touch highlights from ripple containers #12082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions src/lib/button-toggle/button-toggle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ $mat-button-toggle-border-radius: 2px !default;
.mat-button-toggle {
white-space: nowrap;
position: relative;
-webkit-tap-highlight-color: transparent;

// Similar to components like the checkbox, slide-toggle and radio, we cannot show the focus
// overlay for `.cdk-program-focused` because mouse clicks on the <label> element would be always
Expand Down
1 change: 1 addition & 0 deletions src/lib/chips/chips.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ $mat-chip-remove-size: 18px;
position: relative;
overflow: hidden;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
}

.mat-standard-chip {
Expand Down
1 change: 1 addition & 0 deletions src/lib/core/option/option.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
max-width: 100%;
box-sizing: border-box;
align-items: center;
-webkit-tap-highlight-color: transparent;

&[aria-disabled='true'] {
@include user-select(none);
Expand Down
1 change: 1 addition & 0 deletions src/lib/list/list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ $mat-list-item-inset-divider-offset: 72px;
// being `inline` by default.
display: block;
height: $base-height;
-webkit-tap-highlight-color: transparent;

.mat-list-item-content {
display: flex;
Expand Down
1 change: 1 addition & 0 deletions src/lib/stepper/step-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ $mat-step-header-icon-size: 16px !default;
cursor: pointer;
position: relative;
box-sizing: content-box;
-webkit-tap-highlight-color: transparent;
}

.mat-step-optional {
Expand Down
1 change: 1 addition & 0 deletions src/lib/tabs/tab-nav-bar/tab-nav-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
text-decoration: none; // Removes anchor underline styling
position: relative;
overflow: hidden; // Keeps the ripple from extending outside the element bounds
-webkit-tap-highlight-color: transparent;

[mat-stretch-tabs] & {
flex-basis: 0;
Expand Down