@gravitee/ui-particles-angular 4.12.0-291-keyboard-accessibility-ee0ed7d → 4.12.0-291-keyboard-accessibility-abecc01

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2535,7 +2535,7 @@
2535
2535
  setTimeout(function () { return _this.onMouseEnter($event); }, 0);
2536
2536
  };
2537
2537
  GioMenuItemComponent.prototype.onKeydownHandler = function ($event) {
2538
- if ($event.key === ' ' || $event.key === 'Enter') {
2538
+ if (this.active && ($event.key === ' ' || $event.key === 'Enter')) {
2539
2539
  var menuItem = $event.target;
2540
2540
  this.gioMenuService.overlay({ open: false });
2541
2541
  this.gioMenuService.overlay({ open: true, top: menuItem.getBoundingClientRect().top, parent: menuItem, focus: true });