fix(menu): overlays can block menu closing

fixes #15880
This commit is contained in:
Manu Mtz.-Almeida
2018-10-08 13:31:27 -05:00
parent e51f1f36f1
commit 11aa241dac
5 changed files with 53 additions and 17 deletions

View File

@ -1,6 +1,19 @@
@import "../menu/menu.ios.vars";
@import "../menu/menu.md.vars";
.menu-content {
@include transform(translate3d(0, 0, 0));
}
.menu-content-open {
cursor: pointer;
touch-action: manipulation;
// the containing element itself should be clickable but
// everything inside of it should not clickable when menu is open
pointer-events: none;
}
.ios .menu-content-reveal {
box-shadow: $menu-ios-box-shadow-reveal;
}