@vaadin/grid 23.0.6 → 23.0.7
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 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/grid",
|
|
3
|
-
"version": "23.0.
|
|
3
|
+
"version": "23.0.7",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -41,19 +41,19 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
43
43
|
"@polymer/polymer": "^3.0.0",
|
|
44
|
-
"@vaadin/checkbox": "^23.0.
|
|
45
|
-
"@vaadin/component-base": "^23.0.
|
|
46
|
-
"@vaadin/text-field": "^23.0.
|
|
47
|
-
"@vaadin/vaadin-lumo-styles": "^23.0.
|
|
48
|
-
"@vaadin/vaadin-material-styles": "^23.0.
|
|
49
|
-
"@vaadin/vaadin-themable-mixin": "^23.0.
|
|
44
|
+
"@vaadin/checkbox": "^23.0.7",
|
|
45
|
+
"@vaadin/component-base": "^23.0.7",
|
|
46
|
+
"@vaadin/text-field": "^23.0.7",
|
|
47
|
+
"@vaadin/vaadin-lumo-styles": "^23.0.7",
|
|
48
|
+
"@vaadin/vaadin-material-styles": "^23.0.7",
|
|
49
|
+
"@vaadin/vaadin-themable-mixin": "^23.0.7"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@esm-bundle/chai": "^4.3.4",
|
|
53
|
-
"@vaadin/polymer-legacy-adapter": "^23.0.
|
|
53
|
+
"@vaadin/polymer-legacy-adapter": "^23.0.7",
|
|
54
54
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
55
55
|
"lit": "^2.0.0",
|
|
56
56
|
"sinon": "^9.2.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "005c2d85db8f50cd3b239dd89ac467add6a71049"
|
|
59
59
|
}
|
package/src/vaadin-grid.js
CHANGED
|
@@ -669,7 +669,7 @@ class Grid extends ElementMixin(
|
|
|
669
669
|
// If focus is on element within the cell content — respect it, do not change
|
|
670
670
|
const contentContainsFocusedElement = cellContent.contains(this.getRootNode().activeElement);
|
|
671
671
|
// Only focus if mouse is released on cell content itself
|
|
672
|
-
const mouseUpWithinCell =
|
|
672
|
+
const mouseUpWithinCell = event.composedPath().includes(cellContent);
|
|
673
673
|
if (!contentContainsFocusedElement && mouseUpWithinCell) {
|
|
674
674
|
cell.focus();
|
|
675
675
|
}
|
|
@@ -951,8 +951,6 @@ class Grid extends ElementMixin(
|
|
|
951
951
|
|
|
952
952
|
requestAnimationFrame(() => {
|
|
953
953
|
this.__scrollToPendingIndex();
|
|
954
|
-
// This needs to be set programmatically in order to avoid an iOS 10 bug (disappearing grid)
|
|
955
|
-
this.$.table.style.webkitOverflowScrolling = 'touch';
|
|
956
954
|
});
|
|
957
955
|
}
|
|
958
956
|
}
|