ngx-kit 8.0.2 → 8.1.0

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.
@@ -1739,7 +1739,7 @@ class OverlayService {
1739
1739
  }
1740
1740
  getActiveElement() {
1741
1741
  const active = this.document.activeElement;
1742
- return active instanceof HTMLElement ? active : null;
1742
+ return active?.nodeType === Node.ELEMENT_NODE ? active : null;
1743
1743
  }
1744
1744
  // ---------------------------------------------------------------------------
1745
1745
  // positioning