@vaadin/split-layout 22.0.3 → 22.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/split-layout",
3
- "version": "22.0.3",
3
+ "version": "22.0.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,15 +34,15 @@
34
34
  "dependencies": {
35
35
  "@polymer/iron-resizable-behavior": "^3.0.0",
36
36
  "@polymer/polymer": "^3.0.0",
37
- "@vaadin/component-base": "^22.0.3",
38
- "@vaadin/vaadin-lumo-styles": "^22.0.3",
39
- "@vaadin/vaadin-material-styles": "^22.0.3",
40
- "@vaadin/vaadin-themable-mixin": "^22.0.3"
37
+ "@vaadin/component-base": "^22.0.6",
38
+ "@vaadin/vaadin-lumo-styles": "^22.0.6",
39
+ "@vaadin/vaadin-material-styles": "^22.0.6",
40
+ "@vaadin/vaadin-themable-mixin": "^22.0.6"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@esm-bundle/chai": "^4.3.4",
44
44
  "@vaadin/testing-helpers": "^0.3.2",
45
45
  "sinon": "^9.2.1"
46
46
  },
47
- "gitHead": "935ad1ea65a79b0f9ecb10d767689479b36c4e07"
47
+ "gitHead": "18c55872d764e338e0f98e65826cbe895156251a"
48
48
  }
@@ -247,7 +247,17 @@ class SplitLayout extends ElementMixin(
247
247
  /** @protected */
248
248
  ready() {
249
249
  super.ready();
250
- this.__observer = new FlattenedNodesObserver(this, this._processChildren);
250
+ this.__observer = new FlattenedNodesObserver(this, (info) => {
251
+ this._cleanupNodes(info.removedNodes);
252
+ this._processChildren();
253
+ });
254
+ }
255
+
256
+ /** @private */
257
+ _cleanupNodes(nodes) {
258
+ nodes.forEach((node) => {
259
+ node.removeAttribute('slot');
260
+ });
251
261
  }
252
262
 
253
263
  /** @private */