Skip to content

Commit cf0cd00

Browse files
committed
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.
1 parent 49dfe60 commit cf0cd00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/core/overlay/_overlay.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747

4848
z-index: $cdk-z-index-overlay-backdrop;
4949
pointer-events: auto;
50+
-webkit-tap-highlight-color: transparent;
5051

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

0 commit comments

Comments
 (0)