@saasquatch/squatch-js 2.8.2-30 → 2.8.2-31

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.
@@ -2412,8 +2412,12 @@ class DeclarativePopupWidget extends DeclarativeWidget {
2412
2412
  skeletonContainer.id = "loading-skeleton";
2413
2413
  skeletonContainer.innerHTML = skeletonHTML;
2414
2414
  const root = this.shadowRoot || this.attachShadow({ mode: "open" });
2415
- root.innerHTML = "";
2416
- root.appendChild(skeletonContainer);
2415
+ const container = root.getElementById("#squatchModal");
2416
+ console.log("Container is ", container);
2417
+ if (container) {
2418
+ container.innerHTML = "";
2419
+ container.appendChild(skeletonContainer);
2420
+ }
2417
2421
  await this.renderWidget();
2418
2422
  const loadingElement = root.getElementById("loading-skeleton");
2419
2423
  if (loadingElement) {