phoenix_live_view 1.1.29 → 1.1.30
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
|
@@ -264,7 +264,7 @@ Hooks.InfiniteScroll = {
|
|
|
264
264
|
updated() {
|
|
265
265
|
// Check if the scroll container still exists
|
|
266
266
|
// https://github.com/phoenixframework/phoenix_live_view/issues/4169.
|
|
267
|
-
if (!this.scrollContainer.isConnected) {
|
|
267
|
+
if (this.scrollContainer && !this.scrollContainer.isConnected) {
|
|
268
268
|
this.destroyed();
|
|
269
269
|
this.mounted();
|
|
270
270
|
}
|
package/package.json
CHANGED
|
@@ -1459,7 +1459,7 @@ Hooks.InfiniteScroll = {
|
|
|
1459
1459
|
}
|
|
1460
1460
|
},
|
|
1461
1461
|
updated() {
|
|
1462
|
-
if (!this.scrollContainer.isConnected) {
|
|
1462
|
+
if (this.scrollContainer && !this.scrollContainer.isConnected) {
|
|
1463
1463
|
this.destroyed();
|
|
1464
1464
|
this.mounted();
|
|
1465
1465
|
}
|
|
@@ -5976,7 +5976,7 @@ var LiveSocket = class {
|
|
|
5976
5976
|
}
|
|
5977
5977
|
// public
|
|
5978
5978
|
version() {
|
|
5979
|
-
return "1.1.
|
|
5979
|
+
return "1.1.30";
|
|
5980
5980
|
}
|
|
5981
5981
|
isProfileEnabled() {
|
|
5982
5982
|
return this.sessionStorage.getItem(PHX_LV_PROFILE) === "true";
|