Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismccord committed Sep 26, 2024
1 parent 45df6c6 commit 65614bb
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 20 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ generated user module:
* Validate slot options (prevents typos like `slot :myslot, requird: true`)

### Bug fixes
* Fix nested LiveViews inside a stream element
* Fix infinite loading streams in zoomed viewports #3442
* Fix race condition in latency simulator causing messages to be applied out of order
* Fix stream items not reapplying JS commands when joining after a disconnect
Expand Down
8 changes: 4 additions & 4 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.

8 changes: 4 additions & 4 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.

9 changes: 5 additions & 4 deletions priv/static/phoenix_live_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -1471,15 +1471,15 @@ removing illegal node: "${(childNode.outerHTML || childNode.nodeValue).trim()}"
};
var isAtViewportTop = (el, scrollContainer) => {
let rect = el.getBoundingClientRect();
return rect.top >= top(scrollContainer) && rect.left >= 0 && rect.top <= bottom(scrollContainer);
return Math.ceil(rect.top) >= top(scrollContainer) && Math.ceil(rect.left) >= 0 && Math.floor(rect.top) <= bottom(scrollContainer);
};
var isAtViewportBottom = (el, scrollContainer) => {
let rect = el.getBoundingClientRect();
return rect.right >= top(scrollContainer) && rect.left >= 0 && rect.bottom <= bottom(scrollContainer);
return Math.ceil(rect.bottom) >= top(scrollContainer) && Math.ceil(rect.left) >= 0 && Math.floor(rect.bottom) <= bottom(scrollContainer);
};
var isWithinViewport = (el, scrollContainer) => {
let rect = el.getBoundingClientRect();
return rect.top >= top(scrollContainer) && rect.left >= 0 && rect.top <= bottom(scrollContainer);
return Math.ceil(rect.top) >= top(scrollContainer) && Math.ceil(rect.left) >= 0 && Math.floor(rect.top) <= bottom(scrollContainer);
};
Hooks.InfiniteScroll = {
mounted() {
Expand Down Expand Up @@ -3520,10 +3520,11 @@ removing illegal node: "${(childNode.outerHTML || childNode.nodeValue).trim()}"
return this.root.children[this.id][id];
}
getDescendentByEl(el) {
var _a;
if (el.id === this.id) {
return this;
} else {
return this.children[el.getAttribute(PHX_PARENT_ID)][el.id];
return (_a = this.children[el.getAttribute(PHX_PARENT_ID)]) == null ? void 0 : _a[el.id];
}
}
destroyDescendent(id) {
Expand Down
8 changes: 4 additions & 4 deletions priv/static/phoenix_live_view.min.js

Large diffs are not rendered by default.

0 comments on commit 65614bb

Please sign in to comment.