@proximus/lavender-light 2.0.0-alpha.74 → 2.0.0-alpha.76

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.
@@ -5486,8 +5486,13 @@ hideMobileMenu_fn = function() {
5486
5486
  if (__privateGet(this, _Header_instances, $mobileMenu_get)) {
5487
5487
  __privateGet(this, _Header_instances, $mobileMenu_get).$megaDropDown.hidden = true;
5488
5488
  this.$burgerMenu.setAttribute("aria-expanded", "false");
5489
- document.body.style.overflow = "auto";
5490
- this.$backdropFilter.style.display = "none";
5489
+ const anyMDDOpen = Array.from(__privateGet(this, _Header_instances, $megaDropdowns_get)).some(
5490
+ (mdd) => !mdd.hidden
5491
+ );
5492
+ if (!anyMDDOpen) {
5493
+ document.body.style.overflow = "auto";
5494
+ this.$backdropFilter.style.display = "none";
5495
+ }
5491
5496
  }
5492
5497
  };
5493
5498
  hidePanel_fn = function() {