@uxbertlabs/reportly 1.0.16 → 1.0.17
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/features/screenshot.d.ts.map +1 -1
- package/dist/reportly.cjs.js +6 -2
- package/dist/reportly.cjs.js.map +1 -1
- package/dist/reportly.esm.js +6 -2
- package/dist/reportly.esm.js.map +1 -1
- package/dist/reportly.js +6 -2
- package/dist/reportly.js.map +1 -1
- package/dist/reportly.min.js +1 -1
- package/dist/reportly.min.js.map +1 -1
- package/package.json +1 -1
package/dist/reportly.esm.js
CHANGED
@@ -9452,8 +9452,6 @@ class Screenshot {
|
|
9452
9452
|
}
|
9453
9453
|
async capture(mode = "fullpage") {
|
9454
9454
|
try {
|
9455
|
-
// Show loading screen
|
9456
|
-
this.showLoadingScreen();
|
9457
9455
|
// Hide UXbert UI elements before capturing
|
9458
9456
|
this.hideUXbertElements();
|
9459
9457
|
const originalScrollY = window.scrollY;
|
@@ -9472,6 +9470,8 @@ class Screenshot {
|
|
9472
9470
|
x: window.scrollX,
|
9473
9471
|
y: window.scrollY,
|
9474
9472
|
onclone: async () => {
|
9473
|
+
// Show loading screen after clone (won't appear in screenshot)
|
9474
|
+
this.showLoadingScreen();
|
9475
9475
|
// Wait 1 second after cloning to let animations complete
|
9476
9476
|
await this.wait(1000);
|
9477
9477
|
},
|
@@ -9512,6 +9512,10 @@ class Screenshot {
|
|
9512
9512
|
logging: false,
|
9513
9513
|
width: fullPageWidth,
|
9514
9514
|
height: fullPageHeight,
|
9515
|
+
onclone: async () => {
|
9516
|
+
// Show loading screen after clone (won't appear in screenshot)
|
9517
|
+
this.showLoadingScreen();
|
9518
|
+
},
|
9515
9519
|
ignoreElements: (element) => {
|
9516
9520
|
// Skip cross-origin images that might cause issues
|
9517
9521
|
if (element.tagName === "IMG") {
|