phoenix_live_view 1.1.26 → 1.1.28

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.
@@ -2488,7 +2488,7 @@ var DOMPatch = class {
2488
2488
  dom_default.copyPrivates(toEl, fromEl);
2489
2489
  if (dom_default.isPortalTemplate(toEl)) {
2490
2490
  portalCallbacks.push(() => this.teleport(toEl, morph));
2491
- fromEl.innerHTML = toEl.innerHTML;
2491
+ fromEl.content.replaceChildren(toEl.content.cloneNode(true));
2492
2492
  return false;
2493
2493
  }
2494
2494
  if (isFocusedFormEl && fromEl.type !== "hidden" && !focusedSelectChanged) {
@@ -4161,6 +4161,7 @@ var View = class _View {
4161
4161
  }
4162
4162
  dom_default.putPrivate(this.el, "view", this);
4163
4163
  this.id = this.el.id;
4164
+ this.el.setAttribute(PHX_ROOT_ID, this.root.id);
4164
4165
  this.ref = 0;
4165
4166
  this.lastAckRef = null;
4166
4167
  this.childJoins = 0;
@@ -5906,7 +5907,7 @@ var LiveSocket = class {
5906
5907
  }
5907
5908
  // public
5908
5909
  version() {
5909
- return "1.1.26";
5910
+ return "1.1.28";
5910
5911
  }
5911
5912
  isProfileEnabled() {
5912
5913
  return this.sessionStorage.getItem(PHX_LV_PROFILE) === "true";