@vaadin/overlay 25.3.0 → 25.3.1
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": "25.3.
|
|
3
|
+
"version": "25.3.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
37
|
-
"@vaadin/a11y-base": "~25.3.
|
|
38
|
-
"@vaadin/component-base": "~25.3.
|
|
39
|
-
"@vaadin/vaadin-themable-mixin": "~25.3.
|
|
37
|
+
"@vaadin/a11y-base": "~25.3.1",
|
|
38
|
+
"@vaadin/component-base": "~25.3.1",
|
|
39
|
+
"@vaadin/vaadin-themable-mixin": "~25.3.1",
|
|
40
40
|
"lit": "^3.0.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@vaadin/aura": "~25.3.
|
|
44
|
-
"@vaadin/chai-plugins": "~25.3.
|
|
45
|
-
"@vaadin/test-runner-commands": "~25.3.
|
|
43
|
+
"@vaadin/aura": "~25.3.1",
|
|
44
|
+
"@vaadin/chai-plugins": "~25.3.1",
|
|
45
|
+
"@vaadin/test-runner-commands": "~25.3.1",
|
|
46
46
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
47
|
-
"@vaadin/vaadin-lumo-styles": "~25.3.
|
|
47
|
+
"@vaadin/vaadin-lumo-styles": "~25.3.1",
|
|
48
48
|
"sinon": "^22.0.0"
|
|
49
49
|
},
|
|
50
50
|
"customElements": "custom-elements.json",
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "a652d6071d7ad5add8465772f14f3efe633066a8"
|
|
52
52
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { isIOS } from '@vaadin/component-base/src/browser-utils.js';
|
|
7
|
+
import { markEventConsumed } from '@vaadin/component-base/src/event-utils.js';
|
|
7
8
|
import { OverlayFocusMixin } from './vaadin-overlay-focus-mixin.js';
|
|
8
9
|
import { OverlayStackMixin } from './vaadin-overlay-stack-mixin.js';
|
|
9
10
|
import { getStateAnimations, setOverlayStateAttribute } from './vaadin-overlay-utils.js';
|
|
@@ -539,8 +540,9 @@ export const OverlayMixin = (superClass) =>
|
|
|
539
540
|
this.close(event);
|
|
540
541
|
|
|
541
542
|
// Only for modal overlays which make underlying content non-interactive.
|
|
543
|
+
// Not using preventDefault() to keep the default action of synthetic clicks.
|
|
542
544
|
if (!this.opened && !this.modeless) {
|
|
543
|
-
event
|
|
545
|
+
markEventConsumed(event);
|
|
544
546
|
}
|
|
545
547
|
}
|
|
546
548
|
}
|