@pendo/agent 2.335.0 → 2.335.2

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/dom.esm.js CHANGED
@@ -7523,7 +7523,7 @@ function applyMatrix2dRect(matrix2d, rect) {
7523
7523
  return transformedRect;
7524
7524
  }
7525
7525
 
7526
- var VERSION = '2.335.0_';
7526
+ var VERSION = '2.335.2_';
7527
7527
 
7528
7528
  var decodeURIComponent = _.isFunction(window.decodeURIComponent) ? window.decodeURIComponent : _.identity;
7529
7529
 
@@ -4029,8 +4029,8 @@ let SERVER = '';
4029
4029
  let ASSET_HOST = '';
4030
4030
  let ASSET_PATH = '';
4031
4031
  let DESIGNER_SERVER = '';
4032
- let VERSION = '2.335.0_';
4033
- let PACKAGE_VERSION = '2.335.0';
4032
+ let VERSION = '2.335.2_';
4033
+ let PACKAGE_VERSION = '2.335.2';
4034
4034
  let LOADER = 'xhr';
4035
4035
  /* eslint-enable web-sdk-eslint-rules/no-gulp-env-references */
4036
4036
  /**
@@ -23273,6 +23273,12 @@ function backdropInertRuntimeScript(step, guide, pendo) {
23273
23273
  if (step.hasBackdrop) {
23274
23274
  const BuildingBlockGuides = pendo.BuildingBlocks.BuildingBlockGuides;
23275
23275
  const excludeElements = getTargetAreaElementsForBlockOut(step);
23276
+ // The preview bar iframe is a sibling of the guide under <body>; inerting it
23277
+ // would make preview mode's controls unclickable while the backdrop shows.
23278
+ const previewBar = document.getElementById('pendo-preview');
23279
+ if (previewBar) {
23280
+ excludeElements.push(previewBar);
23281
+ }
23276
23282
  const inertElements = BuildingBlockGuides.addInertOutsideGuide(step.guideElement[0], [], excludeElements);
23277
23283
  step.hiddenElements = (step.hiddenElements || []).concat(inertElements);
23278
23284
  }