@vaadin/overlay 24.2.5 → 24.2.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/overlay",
|
|
3
|
-
"version": "24.2.
|
|
3
|
+
"version": "24.2.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
40
40
|
"@polymer/polymer": "^3.0.0",
|
|
41
|
-
"@vaadin/a11y-base": "~24.2.
|
|
42
|
-
"@vaadin/component-base": "~24.2.
|
|
43
|
-
"@vaadin/vaadin-lumo-styles": "~24.2.
|
|
44
|
-
"@vaadin/vaadin-material-styles": "~24.2.
|
|
45
|
-
"@vaadin/vaadin-themable-mixin": "~24.2.
|
|
41
|
+
"@vaadin/a11y-base": "~24.2.6",
|
|
42
|
+
"@vaadin/component-base": "~24.2.6",
|
|
43
|
+
"@vaadin/vaadin-lumo-styles": "~24.2.6",
|
|
44
|
+
"@vaadin/vaadin-material-styles": "~24.2.6",
|
|
45
|
+
"@vaadin/vaadin-themable-mixin": "~24.2.6"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@esm-bundle/chai": "^4.3.4",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"lit": "^2.0.0",
|
|
51
51
|
"sinon": "^13.0.2"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "0d105dd0eff818ab9c82c8443b92a1e15ac0e41a"
|
|
54
54
|
}
|
|
@@ -118,6 +118,14 @@ export const OverlayMixin = (superClass) =>
|
|
|
118
118
|
// and <vaadin-context-menu>).
|
|
119
119
|
this.addEventListener('click', () => {});
|
|
120
120
|
this.$.backdrop.addEventListener('click', () => {});
|
|
121
|
+
|
|
122
|
+
this.addEventListener('mouseup', () => {
|
|
123
|
+
// In Chrome, focus moves to body on overlay content mousedown
|
|
124
|
+
// See https://github.com/vaadin/flow-components/issues/5507
|
|
125
|
+
if (document.activeElement === document.body && this.$.overlay.getAttribute('tabindex') === '0') {
|
|
126
|
+
this.$.overlay.focus();
|
|
127
|
+
}
|
|
128
|
+
});
|
|
121
129
|
}
|
|
122
130
|
|
|
123
131
|
/** @protected */
|