@vaadin/grid 23.1.1 → 23.1.2

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/grid",
3
- "version": "23.1.1",
3
+ "version": "23.1.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -43,20 +43,20 @@
43
43
  "dependencies": {
44
44
  "@open-wc/dedupe-mixin": "^1.3.0",
45
45
  "@polymer/polymer": "^3.0.0",
46
- "@vaadin/checkbox": "^23.1.1",
47
- "@vaadin/component-base": "^23.1.1",
48
- "@vaadin/lit-renderer": "^23.1.1",
49
- "@vaadin/text-field": "^23.1.1",
50
- "@vaadin/vaadin-lumo-styles": "^23.1.1",
51
- "@vaadin/vaadin-material-styles": "^23.1.1",
52
- "@vaadin/vaadin-themable-mixin": "^23.1.1"
46
+ "@vaadin/checkbox": "^23.1.2",
47
+ "@vaadin/component-base": "^23.1.2",
48
+ "@vaadin/lit-renderer": "^23.1.2",
49
+ "@vaadin/text-field": "^23.1.2",
50
+ "@vaadin/vaadin-lumo-styles": "^23.1.2",
51
+ "@vaadin/vaadin-material-styles": "^23.1.2",
52
+ "@vaadin/vaadin-themable-mixin": "^23.1.2"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@esm-bundle/chai": "^4.3.4",
56
- "@vaadin/polymer-legacy-adapter": "^23.1.1",
56
+ "@vaadin/polymer-legacy-adapter": "^23.1.2",
57
57
  "@vaadin/testing-helpers": "^0.3.2",
58
58
  "lit": "^2.0.0",
59
59
  "sinon": "^13.0.2"
60
60
  },
61
- "gitHead": "390458d6519433a2dd502cef90da48e84573a275"
61
+ "gitHead": "6fb205c6e9a761feadfb779dd5d7af96d3102e56"
62
62
  }
@@ -48,6 +48,7 @@ export const SortMixin = (superClass) =>
48
48
  _onSorterChanged(e) {
49
49
  const sorter = e.target;
50
50
  e.stopPropagation();
51
+ sorter._grid = this;
51
52
  this.__updateSorter(sorter);
52
53
  this.__applySorters();
53
54
  }
@@ -176,6 +176,10 @@ class GridSorter extends ThemableMixin(DirMixin(PolymerElement)) {
176
176
  disconnectedCallback() {
177
177
  super.disconnectedCallback();
178
178
  this._isConnected = false;
179
+
180
+ if (!this.parentNode && this._grid) {
181
+ this._grid.__removeSorters([this]);
182
+ }
179
183
  }
180
184
 
181
185
  /** @private */