phoenix_live_view 1.2.0-rc.1 → 1.2.0-rc.2
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.
- package/assets/js/phoenix_live_view/hooks.js +1 -1
- package/package.json +1 -1
- package/priv/static/phoenix_live_view.cjs.js +2 -2
- package/priv/static/phoenix_live_view.cjs.js.map +2 -2
- package/priv/static/phoenix_live_view.esm.js +2 -2
- package/priv/static/phoenix_live_view.esm.js.map +2 -2
- package/priv/static/phoenix_live_view.js +2 -2
- package/priv/static/phoenix_live_view.min.js +2 -2
|
@@ -262,7 +262,7 @@ Hooks.InfiniteScroll = {
|
|
|
262
262
|
updated() {
|
|
263
263
|
// Check if the scroll container still exists
|
|
264
264
|
// https://github.com/phoenixframework/phoenix_live_view/issues/4169.
|
|
265
|
-
if (!this.scrollContainer.isConnected) {
|
|
265
|
+
if (this.scrollContainer && !this.scrollContainer.isConnected) {
|
|
266
266
|
this.destroyed();
|
|
267
267
|
this.mounted();
|
|
268
268
|
}
|
package/package.json
CHANGED
|
@@ -1461,7 +1461,7 @@ Hooks.InfiniteScroll = {
|
|
|
1461
1461
|
}
|
|
1462
1462
|
},
|
|
1463
1463
|
updated() {
|
|
1464
|
-
if (!this.scrollContainer.isConnected) {
|
|
1464
|
+
if (this.scrollContainer && !this.scrollContainer.isConnected) {
|
|
1465
1465
|
this.destroyed();
|
|
1466
1466
|
this.mounted();
|
|
1467
1467
|
}
|
|
@@ -5987,7 +5987,7 @@ var LiveSocket = class {
|
|
|
5987
5987
|
}
|
|
5988
5988
|
// public
|
|
5989
5989
|
version() {
|
|
5990
|
-
return "1.2.0-rc.
|
|
5990
|
+
return "1.2.0-rc.2";
|
|
5991
5991
|
}
|
|
5992
5992
|
isProfileEnabled() {
|
|
5993
5993
|
return this.sessionStorage.getItem(PHX_LV_PROFILE) === "true";
|