Skip to content

Commit

Permalink
0.20.1 with fix for phoenixframework#2868
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenDE committed Feb 10, 2024
1 parent 4d7e5a0 commit f156707
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 16 deletions.
5 changes: 3 additions & 2 deletions priv/static/phoenix_live_view.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions priv/static/phoenix_live_view.cjs.js.map

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions priv/static/phoenix_live_view.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions priv/static/phoenix_live_view.esm.js.map

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions priv/static/phoenix_live_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,7 @@ removing illegal node: "${(childNode.outerHTML || childNode.nodeValue).trim()}"
}
}
function morphChildren(fromEl, toEl) {
var skipFrom = skipFromChildren(fromEl);
var skipFrom = skipFromChildren(fromEl, toEl);
var curToNodeChild = toEl.firstChild;
var curFromNodeChild = fromEl.firstChild;
var curToNodeKey;
Expand Down Expand Up @@ -1619,6 +1619,7 @@ removing illegal node: "${(childNode.outerHTML || childNode.nodeValue).trim()}"
removeNode(curFromNodeChild, fromEl, true);
}
curFromNodeChild = matchingFromEl;
curFromNodeKey = getNodeKey(curFromNodeChild);
}
} else {
isCompatible = false;
Expand Down Expand Up @@ -4275,7 +4276,7 @@ within:
let phxClickAway = this.binding("click-away");
dom_default.all(document, `[${phxClickAway}]`, (el) => {
if (!(el.isSameNode(clickStartedAt) || el.contains(clickStartedAt))) {
this.withinOwners(e.target, (view) => {
this.withinOwners(el, (view) => {
let phxEvent = el.getAttribute(phxClickAway);
if (js_default.isVisible(el)) {
js_default.exec("click", phxEvent, view, el, ["push", { data: this.eventMeta("click", e, e.target) }]);
Expand Down
12 changes: 6 additions & 6 deletions priv/static/phoenix_live_view.min.js

Large diffs are not rendered by default.

0 comments on commit f156707

Please sign in to comment.