@skyux/core 6.0.0-beta.7 → 6.0.0-beta.8

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.
@@ -2719,7 +2719,7 @@ class SkyScrollableHostService {
2719
2719
  });
2720
2720
  this.observeForScrollableHostChanges(scrollableHost, parentMutationObserver);
2721
2721
  documentHiddenElementMutationObserver = this.mutationObserverSvc.create(() => {
2722
- if (!elementRef.nativeElement.offsetParent) {
2722
+ if (scrollableHost && !elementRef.nativeElement.offsetParent) {
2723
2723
  scrollableHost = undefined;
2724
2724
  this.observeForScrollableHostChanges(scrollableHost, parentMutationObserver);
2725
2725
  notifySubscribers(subscribers, scrollableHost);