@vaadin/master-detail-layout 25.2.12 → 25.2.14

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.12",
3
+ "version": "25.2.14",
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.12",
38
- "@vaadin/component-base": "~25.2.12",
39
- "@vaadin/vaadin-themable-mixin": "~25.2.12",
37
+ "@vaadin/a11y-base": "~25.2.14",
38
+ "@vaadin/component-base": "~25.2.14",
39
+ "@vaadin/vaadin-themable-mixin": "~25.2.14",
40
40
  "lit": "^3.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@vaadin/aura": "~25.2.12",
44
- "@vaadin/chai-plugins": "~25.2.12",
43
+ "@vaadin/aura": "~25.2.14",
44
+ "@vaadin/chai-plugins": "~25.2.14",
45
45
  "@vaadin/testing-helpers": "^2.0.0",
46
- "@vaadin/vaadin-lumo-styles": "~25.2.12",
46
+ "@vaadin/vaadin-lumo-styles": "~25.2.14",
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": "7261133c2bc1c781f5b00037d896bac5443a4e00"
54
+ "gitHead": "7f2566cacb4ca4f83c44fbcc79776b4a3aa0823e"
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
- if (event.defaultPrevented) {
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/master-detail-layout",
4
- "version": "25.2.12",
4
+ "version": "25.2.14",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/master-detail-layout",
4
- "version": "25.2.12",
4
+ "version": "25.2.14",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {