Skip to content

Commit

Permalink
Merge pull request #360 from conversionxl/raphael/fix/action-bar-cont…
Browse files Browse the repository at this point in the history
…ext-menu-position
  • Loading branch information
pawelkmpt authored Nov 15, 2023
2 parents 6455b8f + 80643d3 commit ba4908e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cxl-ui/src/components/cxl-marketing-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ export class CXLMarketingNavElement extends LitElement {
*/
_onOverlayOpen(e) {
const overlay = e.target;
if (overlay.getAttribute('theme').indexOf('cxl-marketing-nav') === -1) return;

overlay.addEventListener('opened-changed', this._onOverlayClose.bind(this));

if (window.matchMedia(this._wideMediaQuery).matches) {
Expand Down

0 comments on commit ba4908e

Please sign in to comment.