[bugfix] Toast: tap highlight color when unclickable (#1914)

This commit is contained in:
neverland
2018-10-11 10:52:54 +08:00
committed by GitHub
parent b0faa7bbe0
commit 1be1f1e53a
2 changed files with 7 additions and 2 deletions

View File

@@ -17,8 +17,14 @@
transform: translate3d(-50%, -50%, 0);
background-color: rgba(0, 0, 0, .7);
/**
* should not add pointer-events: none directly to body tag
* that will cause unexpected tap-highlight-color in mobile safari
*/
&--unclickable {
pointer-events: none;
* {
pointer-events: none;
}
}
&--text {