@absolutejs/beacon 0.6.43 → 0.6.44

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.
package/dist/index.js CHANGED
@@ -2143,7 +2143,7 @@ var createBeacon = (options) => {
2143
2143
  continue;
2144
2144
  sampled += 1;
2145
2145
  const top = document.elementFromPoint((visibleRect.left + visibleRect.right) / 2, (visibleRect.top + visibleRect.bottom) / 2);
2146
- if (top === null || top === control || control.contains(top) || top.contains(control) || isExtensionOwnedCover(top)) {
2146
+ if (top === null || top === control || control.contains(top) || top.contains(control) || crossesDialogBoundary(control, top) || isExtensionOwnedCover(top)) {
2147
2147
  continue;
2148
2148
  }
2149
2149
  const topRect = top.getBoundingClientRect();
@@ -4271,5 +4271,5 @@ export {
4271
4271
  BEACON_ATTRIBUTE
4272
4272
  };
4273
4273
 
4274
- //# debugId=BA5DCA321E271C2D64756E2164756E21
4274
+ //# debugId=2C51EBBEE5CAE0E464756E2164756E21
4275
4275
  //# sourceMappingURL=index.js.map