@acorex/components 20.7.19 → 20.7.21

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.
@@ -479,7 +479,6 @@ class AXContextMenuComponent extends NXComponent {
479
479
  showAt(point, targetElement, event) {
480
480
  const sender = this;
481
481
  this.service.closeAllContextMenu$.next({ sender });
482
- this.service.openContextMenu$.next({ sender, point });
483
482
  if (isPlatformBrowser(this.platformID)) {
484
483
  if (!targetElement) {
485
484
  targetElement = this.document.elementFromPoint(point.x, point.y);
@@ -497,6 +496,7 @@ class AXContextMenuComponent extends NXComponent {
497
496
  this.onOpening.emit(event);
498
497
  this.items.set(event.items);
499
498
  }
499
+ this.service.openContextMenu$.next({ sender, point });
500
500
  }
501
501
  /**
502
502
  * Closes the context menu and removes the backdrop.