@norwegian/core-components 5.10.5 → 5.10.6

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.
@@ -8672,7 +8672,7 @@
8672
8672
  this.expanded = expanded;
8673
8673
  this.openChange.emit(expanded);
8674
8674
  if (expanded) {
8675
- document.body.classList.add('block-scrolling');
8675
+ document.body.classList.add('block-scrolling__top-position');
8676
8676
  setTimeout(function () {
8677
8677
  var menuElement = _this.menuElement.nativeElement;
8678
8678
  if (menuElement) {
@@ -8681,7 +8681,7 @@
8681
8681
  }, 50);
8682
8682
  }
8683
8683
  else {
8684
- document.body.classList.remove('block-scrolling');
8684
+ document.body.classList.remove('block-scrolling__top-position');
8685
8685
  this.animateOut = true;
8686
8686
  setTimeout(function () {
8687
8687
  _this.animateOut = false;