@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/reportly.js CHANGED
@@ -9455,8 +9455,6 @@ var Reportly = (function () {
9455
9455
  }
9456
9456
  async capture(mode = "fullpage") {
9457
9457
  try {
9458
- // Show loading screen
9459
- this.showLoadingScreen();
9460
9458
  // Hide UXbert UI elements before capturing
9461
9459
  this.hideUXbertElements();
9462
9460
  const originalScrollY = window.scrollY;
@@ -9475,6 +9473,8 @@ var Reportly = (function () {
9475
9473
  x: window.scrollX,
9476
9474
  y: window.scrollY,
9477
9475
  onclone: async () => {
9476
+ // Show loading screen after clone (won't appear in screenshot)
9477
+ this.showLoadingScreen();
9478
9478
  // Wait 1 second after cloning to let animations complete
9479
9479
  await this.wait(1000);
9480
9480
  },
@@ -9515,6 +9515,10 @@ var Reportly = (function () {
9515
9515
  logging: false,
9516
9516
  width: fullPageWidth,
9517
9517
  height: fullPageHeight,
9518
+ onclone: async () => {
9519
+ // Show loading screen after clone (won't appear in screenshot)
9520
+ this.showLoadingScreen();
9521
+ },
9518
9522
  ignoreElements: (element) => {
9519
9523
  // Skip cross-origin images that might cause issues
9520
9524
  if (element.tagName === "IMG") {