@vaadin/overlay 24.8.0-alpha14 → 24.8.0-alpha16
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.8.0-
|
|
3
|
+
"version": "24.8.0-alpha16",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
38
|
"@polymer/polymer": "^3.0.0",
|
|
39
|
-
"@vaadin/a11y-base": "24.8.0-
|
|
40
|
-
"@vaadin/component-base": "24.8.0-
|
|
41
|
-
"@vaadin/vaadin-lumo-styles": "24.8.0-
|
|
42
|
-
"@vaadin/vaadin-material-styles": "24.8.0-
|
|
43
|
-
"@vaadin/vaadin-themable-mixin": "24.8.0-
|
|
39
|
+
"@vaadin/a11y-base": "24.8.0-alpha16",
|
|
40
|
+
"@vaadin/component-base": "24.8.0-alpha16",
|
|
41
|
+
"@vaadin/vaadin-lumo-styles": "24.8.0-alpha16",
|
|
42
|
+
"@vaadin/vaadin-material-styles": "24.8.0-alpha16",
|
|
43
|
+
"@vaadin/vaadin-themable-mixin": "24.8.0-alpha16",
|
|
44
44
|
"lit": "^3.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@vaadin/chai-plugins": "24.8.0-
|
|
48
|
-
"@vaadin/test-runner-commands": "24.8.0-
|
|
47
|
+
"@vaadin/chai-plugins": "24.8.0-alpha16",
|
|
48
|
+
"@vaadin/test-runner-commands": "24.8.0-alpha16",
|
|
49
49
|
"@vaadin/testing-helpers": "^1.1.0",
|
|
50
50
|
"sinon": "^18.0.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "ac26cb142cd3d6374423ca699677d47557399d47"
|
|
53
53
|
}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
import { afterNextRender } from '@polymer/polymer/lib/utils/render-status.js';
|
|
7
6
|
import { isIOS } from '@vaadin/component-base/src/browser-utils.js';
|
|
8
7
|
import { OverlayFocusMixin } from './vaadin-overlay-focus-mixin.js';
|
|
9
8
|
import { OverlayStackMixin } from './vaadin-overlay-stack-mixin.js';
|
|
@@ -266,11 +265,12 @@ export const OverlayMixin = (superClass) =>
|
|
|
266
265
|
|
|
267
266
|
this._animatedOpening();
|
|
268
267
|
|
|
269
|
-
|
|
270
|
-
|
|
268
|
+
requestAnimationFrame(() => {
|
|
269
|
+
setTimeout(() => {
|
|
270
|
+
this._trapFocus();
|
|
271
271
|
|
|
272
|
-
|
|
273
|
-
|
|
272
|
+
this.dispatchEvent(new CustomEvent('vaadin-overlay-open', { bubbles: true }));
|
|
273
|
+
});
|
|
274
274
|
});
|
|
275
275
|
|
|
276
276
|
document.addEventListener('keydown', this._boundKeydownListener);
|