Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/primefaces/primeng
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Dec 6, 2023
2 parents 17a8261 + ecd2beb commit 7e524eb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/components/menu/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 7e524eb

Please sign in to comment.