@openproject/primer-view-components 0.69.3 → 0.69.4

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.
@@ -379,8 +379,10 @@ _ActionMenuElement_handleToggleEvent = function _ActionMenuElement_handleToggleE
379
379
  // desirable
380
380
  __classPrivateFieldGet(this, _ActionMenuElement_focusZoneStack, "f").pop(subMenu);
381
381
  const item = __classPrivateFieldGet(this, _ActionMenuElement_instances, "m", _ActionMenuElement_itemForSubMenu).call(this, subMenu);
382
- if (item)
382
+ const openPopover = document.querySelector(':popover-open');
383
+ if (item && !openPopover) {
383
384
  item.focus();
385
+ }
384
386
  }
385
387
  };
386
388
  _ActionMenuElement_handleInvokerActivated = function _ActionMenuElement_handleInvokerActivated(event) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openproject/primer-view-components",
3
- "version": "0.69.3",
3
+ "version": "0.69.4",
4
4
  "description": "ViewComponents of the Primer Design System for OpenProject",
5
5
  "main": "app/assets/javascripts/primer_view_components.js",
6
6
  "module": "app/components/primer/primer.js",