@skyux/core 8.10.8 → 8.10.9

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.
@@ -549,7 +549,9 @@ _SkyAffixer_affixedElement = new WeakMap(), _SkyAffixer_baseElement = new WeakMa
549
549
  __classPrivateFieldGet(this, _SkyAffixer_offsetChange, "f").next({ offset });
550
550
  }
551
551
  }, _SkyAffixer_getOffsetParentRect = function _SkyAffixer_getOffsetParentRect() {
552
- if (__classPrivateFieldGet(this, _SkyAffixer_affixedElement, "f").offsetParent) {
552
+ // Firefox sets the offsetParent to document.body if the element uses fixed positioning.
553
+ if (__classPrivateFieldGet(this, _SkyAffixer_instances, "a", _SkyAffixer_config_get).position === 'absolute' &&
554
+ __classPrivateFieldGet(this, _SkyAffixer_affixedElement, "f").offsetParent) {
553
555
  return getOuterRect(__classPrivateFieldGet(this, _SkyAffixer_affixedElement, "f").offsetParent);
554
556
  }
555
557
  else {