@limetech/lime-elements 37.65.8 → 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,11 @@
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
+
1
9
  ## [37.65.8](https://github.com/Lundalogik/lime-elements/compare/v37.65.7...v37.65.8) (2024-11-08)
2
10
 
3
11
 
@@ -2045,13 +2045,13 @@ const Portal = class {
2045
2045
  this.showContainer();
2046
2046
  }
2047
2047
  if ('ResizeObserver' in window) {
2048
- const observer = new ResizeObserver(() => {
2048
+ this.observer = new ResizeObserver(() => {
2049
2049
  if (this.popperInstance) {
2050
2050
  this.styleContainer();
2051
2051
  this.popperInstance.update();
2052
2052
  }
2053
2053
  });
2054
- observer.observe(this.container);
2054
+ this.observer.observe(this.container);
2055
2055
  }
2056
2056
  }
2057
2057
  render() {