@vaadin/overlay 24.5.2 → 24.5.4

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.5.2",
3
+ "version": "24.5.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,17 +36,17 @@
36
36
  "dependencies": {
37
37
  "@open-wc/dedupe-mixin": "^1.3.0",
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/a11y-base": "~24.5.2",
40
- "@vaadin/component-base": "~24.5.2",
41
- "@vaadin/vaadin-lumo-styles": "~24.5.2",
42
- "@vaadin/vaadin-material-styles": "~24.5.2",
43
- "@vaadin/vaadin-themable-mixin": "~24.5.2",
39
+ "@vaadin/a11y-base": "~24.5.4",
40
+ "@vaadin/component-base": "~24.5.4",
41
+ "@vaadin/vaadin-lumo-styles": "~24.5.4",
42
+ "@vaadin/vaadin-material-styles": "~24.5.4",
43
+ "@vaadin/vaadin-themable-mixin": "~24.5.4",
44
44
  "lit": "^3.0.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@vaadin/chai-plugins": "~24.5.2",
47
+ "@vaadin/chai-plugins": "~24.5.4",
48
48
  "@vaadin/testing-helpers": "^1.0.0",
49
49
  "sinon": "^18.0.0"
50
50
  },
51
- "gitHead": "3e07e97ed0bf355373d1ef0216a3954113e4a40f"
51
+ "gitHead": "0993b6e95bd5826642065356b8f5854a65a6b677"
52
52
  }
@@ -69,7 +69,7 @@ export const OverlayStackMixin = (superClass) =>
69
69
 
70
70
  // Disable pointer events in other attached overlays
71
71
  getAttachedInstances().forEach((el) => {
72
- if (el !== this) {
72
+ if (el !== this && el.$.overlay) {
73
73
  el.$.overlay.style.pointerEvents = 'none';
74
74
  }
75
75
  });
@@ -93,7 +93,9 @@ export const OverlayStackMixin = (superClass) =>
93
93
  // Skip the current instance
94
94
  continue;
95
95
  }
96
- el.$.overlay.style.removeProperty('pointer-events');
96
+ if (el.$.overlay) {
97
+ el.$.overlay.style.removeProperty('pointer-events');
98
+ }
97
99
  if (!el.modeless) {
98
100
  // Stop after the last modal
99
101
  break;