@syncfusion/ej2-navigations 34.2.6 → 34.2.7

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.
@@ -2100,6 +2100,14 @@ let MenuBase = class MenuBase extends Component {
2100
2100
  const menuType = type;
2101
2101
  let observedElement;
2102
2102
  this.trigger('beforeOpen', eventArgs, (observedOpenArgs) => {
2103
+ const wrapper = this.getWrapper();
2104
+ if (this.isAngular && wrapper && this.element.classList.contains('e-contextmenu')) {
2105
+ const cdkPane = document.querySelector('.cdk-overlay-pane');
2106
+ const popoverEl = document.querySelector('[popover]');
2107
+ if (cdkPane && popoverEl) {
2108
+ cdkPane.appendChild(wrapper);
2109
+ }
2110
+ }
2103
2111
  switch (menuType) {
2104
2112
  case 'menu':
2105
2113
  if (!this.hamburgerMode) {