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 e4d48d7 commit 2f1f0fdCopy full SHA for 2f1f0fd
src/lib/menu/menu-trigger.ts
@@ -417,7 +417,7 @@ export class MdMenuTrigger implements AfterViewInit, OnDestroy {
417
// Since clicking on the trigger won't close the menu if it opens a sub-menu,
418
// we should prevent focus from moving onto it via click to avoid the
419
// highlight from lingering on the menu item.
420
- if (this.triggersSubmenu) {
+ if (this.triggersSubmenu()) {
421
event.preventDefault();
422
}
423
0 commit comments