@vaadin/master-detail-layout 25.3.0 → 25.3.2
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.3.
|
|
3
|
+
"version": "25.3.2",
|
|
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.3.
|
|
38
|
-
"@vaadin/component-base": "~25.3.
|
|
39
|
-
"@vaadin/vaadin-themable-mixin": "~25.3.
|
|
37
|
+
"@vaadin/a11y-base": "~25.3.2",
|
|
38
|
+
"@vaadin/component-base": "~25.3.2",
|
|
39
|
+
"@vaadin/vaadin-themable-mixin": "~25.3.2",
|
|
40
40
|
"lit": "^3.0.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@vaadin/aura": "~25.3.
|
|
44
|
-
"@vaadin/chai-plugins": "~25.3.
|
|
43
|
+
"@vaadin/aura": "~25.3.2",
|
|
44
|
+
"@vaadin/chai-plugins": "~25.3.2",
|
|
45
45
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
46
|
-
"@vaadin/vaadin-lumo-styles": "~25.3.
|
|
46
|
+
"@vaadin/vaadin-lumo-styles": "~25.3.2",
|
|
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": "3f75254a3f77da3977cb79a77f549f37b8a5d54e"
|
|
55
55
|
}
|
|
@@ -8,6 +8,7 @@ import { getTabbableElements, isKeyboardActive } from '@vaadin/a11y-base/src/foc
|
|
|
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';
|
|
@@ -490,7 +491,8 @@ class MasterDetailLayout extends ElementMixin(ThemableMixin(PolylitMixin(LitElem
|
|
|
490
491
|
|
|
491
492
|
/** @private */
|
|
492
493
|
__onBackdropClick(event) {
|
|
493
|
-
|
|
494
|
+
// Ignore the click that closed a modal overlay, e.g. a combo-box dropdown
|
|
495
|
+
if (event.defaultPrevented || isEventConsumed(event)) {
|
|
494
496
|
return;
|
|
495
497
|
}
|
|
496
498
|
|
package/web-types.json
CHANGED