@lightningjs/blits 2.8.1 → 2.8.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.8.3
4
+
5
+ _23 jul 2026_
6
+
7
+ - Added end of life guard to layout retrigger on node tick event
8
+
9
+ ## 2.8.2
10
+
11
+ _22 jul 2026_
12
+
13
+ - Added end of life guard to layout retrigger
14
+
3
15
  ## 2.8.1
4
16
 
5
17
  _22 jul 2026_
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightningjs/blits",
3
- "version": "2.8.1",
3
+ "version": "2.8.3",
4
4
  "description": "Blits: The Lightning 3 App Development Framework",
5
5
  "bin": "bin/index.js",
6
6
  "exports": {
@@ -674,6 +674,7 @@ const Element = {
674
674
  if (this.config.parent.props !== undefined && this.config.parent.props.__layout === true) {
675
675
  this.config.parent.triggerLayout(this.config.parent.props)
676
676
  this.node.on('loaded', () => {
677
+ if (this.eol === true) return
677
678
  this.config.parent.triggerLayout(this.config.parent.props)
678
679
  })
679
680
  }
@@ -906,6 +907,7 @@ const Element = {
906
907
 
907
908
  if (this.config.parent.props && this.config.parent.props.__layout === true) {
908
909
  f.on('tick', () => {
910
+ if (this.eol === true || !this.config) return
909
911
  this.config.parent.triggerLayout(this.config.parent.props)
910
912
  })
911
913
  }