We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59319d0 commit eaa6099Copy full SHA for eaa6099
src/lib/menu/menu.scss
@@ -15,6 +15,13 @@ $mat-menu-border-radius: 2px !default;
15
max-height: calc(100vh - #{$mat-menu-item-height});
16
border-radius: $mat-menu-border-radius;
17
18
+ // Prevent the user from interacting while the panel is still animating.
19
+ // This avoids issues where the user could accidentally open a sub-menu,
20
+ // because of the `overlapTrigger` option.
21
+ &.ng-animating {
22
+ pointer-events: none;
23
+ }
24
+
25
@include cdk-high-contrast {
26
outline: solid 1px;
27
}
0 commit comments