Skip to content

Commit

Permalink
fix(overlay): remove webkit tap highlight from backdrop (#5258)
Browse files Browse the repository at this point in the history
Removes the native Webkit tap highlight from the overlay backdrop. This prevents a dark tint from being added when tapping away from an overlay.
  • Loading branch information
crisbeto authored and jelbourn committed Jun 22, 2017
1 parent 5a38a9f commit 8feddd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/core/overlay/_overlay.scss
Expand Up @@ -47,6 +47,7 @@

z-index: $cdk-z-index-overlay-backdrop;
pointer-events: auto;
-webkit-tap-highlight-color: transparent;

// TODO(jelbourn): figure out if there are actually spec'ed colors for both light and dark
// themes here. Currently using the values from AngularJS Material.
Expand Down

0 comments on commit 8feddd4

Please sign in to comment.