diff --git a/src/app/components/menu/menu.ts b/src/app/components/menu/menu.ts index 68a7db73cd0..11617e6b987 100755 --- a/src/app/components/menu/menu.ts +++ b/src/app/components/menu/menu.ts @@ -574,13 +574,11 @@ export class Menu implements OnDestroy { break; case 'Escape': + case 'Tab': if (this.popup) { DomHandler.focus(this.target); this.hide(); } - break; - - case 'Tab': this.overlayVisible && this.hide(); break;