@measured/puck 0.19.0-canary.2c1db862 → 0.19.0-canary.2e6a87db
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.
@@ -3190,7 +3190,7 @@ var GlobalPosition = class {
|
|
3190
3190
|
var _a;
|
3191
3191
|
this.target = target;
|
3192
3192
|
this.original = original;
|
3193
|
-
this.frameEl = document.querySelector("
|
3193
|
+
this.frameEl = document.querySelector("iframe");
|
3194
3194
|
if (this.frameEl) {
|
3195
3195
|
this.frameRect = this.frameEl.getBoundingClientRect();
|
3196
3196
|
this.scaleFactor = this.frameRect.width / (((_a = this.frameEl.contentWindow) == null ? void 0 : _a.innerWidth) || 1);
|
package/dist/index.js
CHANGED
@@ -5695,7 +5695,7 @@ var GlobalPosition = class {
|
|
5695
5695
|
var _a;
|
5696
5696
|
this.target = target;
|
5697
5697
|
this.original = original;
|
5698
|
-
this.frameEl = document.querySelector("
|
5698
|
+
this.frameEl = document.querySelector("iframe");
|
5699
5699
|
if (this.frameEl) {
|
5700
5700
|
this.frameRect = this.frameEl.getBoundingClientRect();
|
5701
5701
|
this.scaleFactor = this.frameRect.width / (((_a = this.frameEl.contentWindow) == null ? void 0 : _a.innerWidth) || 1);
|
package/dist/index.mjs
CHANGED
package/dist/rsc.mjs
CHANGED
package/package.json
CHANGED