@vaadin/master-detail-layout 25.2.12 → 25.2.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/master-detail-layout",
|
|
3
|
-
"version": "25.2.
|
|
3
|
+
"version": "25.2.13",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"web-component"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@vaadin/a11y-base": "~25.2.
|
|
38
|
-
"@vaadin/component-base": "~25.2.
|
|
39
|
-
"@vaadin/vaadin-themable-mixin": "~25.2.
|
|
37
|
+
"@vaadin/a11y-base": "~25.2.13",
|
|
38
|
+
"@vaadin/component-base": "~25.2.13",
|
|
39
|
+
"@vaadin/vaadin-themable-mixin": "~25.2.13",
|
|
40
40
|
"lit": "^3.0.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@vaadin/aura": "~25.2.
|
|
44
|
-
"@vaadin/chai-plugins": "~25.2.
|
|
43
|
+
"@vaadin/aura": "~25.2.13",
|
|
44
|
+
"@vaadin/chai-plugins": "~25.2.13",
|
|
45
45
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
46
|
-
"@vaadin/vaadin-lumo-styles": "~25.2.
|
|
46
|
+
"@vaadin/vaadin-lumo-styles": "~25.2.13",
|
|
47
47
|
"sinon": "^22.0.0"
|
|
48
48
|
},
|
|
49
49
|
"customElements": "custom-elements.json",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"web-types.json",
|
|
52
52
|
"web-types.lit.json"
|
|
53
53
|
],
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "601112f027fb53668eed85f9593fa6fe5222fa00"
|
|
55
55
|
}
|
|
@@ -8,6 +8,7 @@ import { getFocusableElements, isKeyboardActive } from '@vaadin/a11y-base/src/fo
|
|
|
8
8
|
import { defineCustomElement } from '@vaadin/component-base/src/define.js';
|
|
9
9
|
import { getClosestElement } from '@vaadin/component-base/src/dom-utils.js';
|
|
10
10
|
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
|
|
11
|
+
import { isEventConsumed } from '@vaadin/component-base/src/event-utils.js';
|
|
11
12
|
import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
|
|
12
13
|
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
13
14
|
import { masterDetailLayoutStyles } from './styles/vaadin-master-detail-layout-base-styles.js';
|
|
@@ -489,7 +490,8 @@ class MasterDetailLayout extends ElementMixin(ThemableMixin(PolylitMixin(LitElem
|
|
|
489
490
|
|
|
490
491
|
/** @private */
|
|
491
492
|
__onBackdropClick(event) {
|
|
492
|
-
|
|
493
|
+
// Ignore the click that closed a modal overlay, e.g. a combo-box dropdown
|
|
494
|
+
if (event.defaultPrevented || isEventConsumed(event)) {
|
|
493
495
|
return;
|
|
494
496
|
}
|
|
495
497
|
|
package/web-types.json
CHANGED