@vaadin/grid 22.0.12 → 22.0.13
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 +9 -9
- package/src/vaadin-grid.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/grid",
|
|
3
|
-
"version": "22.0.
|
|
3
|
+
"version": "22.0.13",
|
|
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.
|
|
44
|
-
"@vaadin/component-base": "^22.0.
|
|
45
|
-
"@vaadin/text-field": "^22.0.
|
|
46
|
-
"@vaadin/vaadin-lumo-styles": "^22.0.
|
|
47
|
-
"@vaadin/vaadin-material-styles": "^22.0.
|
|
48
|
-
"@vaadin/vaadin-themable-mixin": "^22.0.
|
|
43
|
+
"@vaadin/checkbox": "^22.0.13",
|
|
44
|
+
"@vaadin/component-base": "^22.0.13",
|
|
45
|
+
"@vaadin/text-field": "^22.0.13",
|
|
46
|
+
"@vaadin/vaadin-lumo-styles": "^22.0.13",
|
|
47
|
+
"@vaadin/vaadin-material-styles": "^22.0.13",
|
|
48
|
+
"@vaadin/vaadin-themable-mixin": "^22.0.13"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@esm-bundle/chai": "^4.3.4",
|
|
52
|
-
"@vaadin/polymer-legacy-adapter": "^22.0.
|
|
52
|
+
"@vaadin/polymer-legacy-adapter": "^22.0.13",
|
|
53
53
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
54
54
|
"lit": "^2.0.0",
|
|
55
55
|
"sinon": "^9.2.0"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "0ef3a237a2db4255710aa878debb169eb52a1715"
|
|
58
58
|
}
|
package/src/vaadin-grid.js
CHANGED
|
@@ -664,7 +664,7 @@ class Grid extends ElementMixin(
|
|
|
664
664
|
// If focus is on element within the cell content — respect it, do not change
|
|
665
665
|
const contentContainsFocusedElement = cellContent.contains(this.getRootNode().activeElement);
|
|
666
666
|
// Only focus if mouse is released on cell content itself
|
|
667
|
-
const mouseUpWithinCell =
|
|
667
|
+
const mouseUpWithinCell = event.composedPath().includes(cellContent);
|
|
668
668
|
if (!contentContainsFocusedElement && mouseUpWithinCell) {
|
|
669
669
|
cell.focus();
|
|
670
670
|
}
|