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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phoenix_live_view",
3
- "version": "1.1.29",
3
+ "version": "1.1.30",
4
4
  "description": "The Phoenix LiveView JavaScript client.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -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.29";
5979
+ return "1.1.30";
5980
5980
  }
5981
5981
  isProfileEnabled() {
5982
5982
  return this.sessionStorage.getItem(PHX_LV_PROFILE) === "true";