@vaadin/grid 22.0.5 → 22.0.8

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": "22.0.5",
3
+ "version": "22.0.8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -40,19 +40,19 @@
40
40
  "dependencies": {
41
41
  "@open-wc/dedupe-mixin": "^1.3.0",
42
42
  "@polymer/polymer": "^3.0.0",
43
- "@vaadin/checkbox": "^22.0.5",
44
- "@vaadin/component-base": "^22.0.5",
45
- "@vaadin/text-field": "^22.0.5",
46
- "@vaadin/vaadin-lumo-styles": "^22.0.5",
47
- "@vaadin/vaadin-material-styles": "^22.0.5",
48
- "@vaadin/vaadin-themable-mixin": "^22.0.5"
43
+ "@vaadin/checkbox": "^22.0.8",
44
+ "@vaadin/component-base": "^22.0.8",
45
+ "@vaadin/text-field": "^22.0.8",
46
+ "@vaadin/vaadin-lumo-styles": "^22.0.8",
47
+ "@vaadin/vaadin-material-styles": "^22.0.8",
48
+ "@vaadin/vaadin-themable-mixin": "^22.0.8"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@esm-bundle/chai": "^4.3.4",
52
- "@vaadin/polymer-legacy-adapter": "^22.0.5",
52
+ "@vaadin/polymer-legacy-adapter": "^22.0.8",
53
53
  "@vaadin/testing-helpers": "^0.3.2",
54
54
  "lit": "^2.0.0",
55
55
  "sinon": "^9.2.0"
56
56
  },
57
- "gitHead": "3e1990867670f3de2dec6fa1200d945623b2710c"
57
+ "gitHead": "6b6a1e5262588ae0f0b056e133f196dc93177264"
58
58
  }
@@ -91,6 +91,9 @@ export const KeyboardNavigationMixin = (superClass) =>
91
91
  this.addEventListener('mousedown', () => {
92
92
  this.toggleAttribute('navigating', false);
93
93
  this._isMousedown = true;
94
+
95
+ // Reset stored order when moving focus with mouse.
96
+ this._focusedColumnOrder = undefined;
94
97
  });
95
98
  this.addEventListener('mouseup', () => (this._isMousedown = false));
96
99
  }
@@ -617,6 +620,9 @@ export const KeyboardNavigationMixin = (superClass) =>
617
620
  _onTabKeyDown(e) {
618
621
  const focusTarget = this._predictFocusStepTarget(e.composedPath()[0], e.shiftKey ? -1 : 1);
619
622
 
623
+ // Prevent focus-trap logic from intercepting the event.
624
+ e.stopPropagation();
625
+
620
626
  if (focusTarget === this.$.table) {
621
627
  // The focus is about to exit the grid to the top.
622
628
  this.$.table.focus();