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