From d46e50bc2e9480652206ca65370ea74a34655302 Mon Sep 17 00:00:00 2001 From: crisbeto Date: Tue, 20 Jun 2017 20:41:15 +0200 Subject: [PATCH] fix(overlay): remove webkit tap highlight from backdrop Removes the native Webkit tap highlight from the overlay backdrop. This prevents a dark tint from being added when tapping away from an overlay. --- src/lib/core/overlay/_overlay.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/core/overlay/_overlay.scss b/src/lib/core/overlay/_overlay.scss index 20b77414da01..98c967932eac 100644 --- a/src/lib/core/overlay/_overlay.scss +++ b/src/lib/core/overlay/_overlay.scss @@ -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.