mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(overlay): remove webkit tap highlight from backdrop (#5258)
Removes the native Webkit tap highlight from the overlay backdrop. This prevents a dark tint from being added when tapping away from an overlay.
This commit is contained in:
committed by
Jeremy Elbourn
parent
5a38a9f9cc
commit
8feddd40a9
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user