@limetech/lime-elements 37.65.7 → 37.65.9

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,3 +1,19 @@
1
+ ## [37.65.9](https://github.com/Lundalogik/lime-elements/compare/v37.65.8...v37.65.9) (2024-11-08)
2
+
3
+
4
+ ### Performance Improvements
5
+
6
+
7
+ * **portal:** prevent memory leak in internal component used by several components with dropdowns ([8f4619e](https://github.com/Lundalogik/lime-elements/commit/8f4619e45b5db9d87330fb3faa19836fea3fade7))
8
+
9
+ ## [37.65.8](https://github.com/Lundalogik/lime-elements/compare/v37.65.7...v37.65.8) (2024-11-08)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+
15
+ * **form:** handle undefined element ([8e65007](https://github.com/Lundalogik/lime-elements/commit/8e65007ef0829cdb7e36f8f7cc676cf32d499028))
16
+
1
17
  ## [37.65.7](https://github.com/Lundalogik/lime-elements/compare/v37.65.6...v37.65.7) (2024-11-07)
2
18
 
3
19
 
@@ -23935,6 +23935,9 @@ class GridLayout extends react.Component {
23935
23935
  handleResize() {
23936
23936
  requestAnimationFrame(() => {
23937
23937
  const element = this.elementRef.current;
23938
+ if (!element) {
23939
+ return;
23940
+ }
23938
23941
  const width = element.getBoundingClientRect().width;
23939
23942
  const maxColumns = Math.min(MAX_COLUMNS, Math.max(1, Math.floor(width / (MAX_COLUMN_WIDTH * PX_PER_REM))));
23940
23943
  const columns = this.getColumnCount(maxColumns);