@limetech/lime-elements 37.1.0-next.26 → 37.1.0-next.27

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.
@@ -35689,9 +35689,9 @@ const Form = class {
35689
35689
  this.validateForm(this.value);
35690
35690
  }
35691
35691
  disconnectedCallback() {
35692
- const rootElement = this.host.shadowRoot.querySelector('.root');
35693
- if (rootElement) {
35694
- reactDom.unmountComponentAtNode(rootElement);
35692
+ if (this.root) {
35693
+ this.root.unmount();
35694
+ this.root = undefined;
35695
35695
  }
35696
35696
  }
35697
35697
  render() {