@vaadin/overlay 25.0.3 → 25.0.5
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.0.
|
|
3
|
+
"version": "25.0.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -33,18 +33,18 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
36
|
-
"@vaadin/a11y-base": "~25.0.
|
|
37
|
-
"@vaadin/component-base": "~25.0.
|
|
38
|
-
"@vaadin/vaadin-themable-mixin": "~25.0.
|
|
36
|
+
"@vaadin/a11y-base": "~25.0.5",
|
|
37
|
+
"@vaadin/component-base": "~25.0.5",
|
|
38
|
+
"@vaadin/vaadin-themable-mixin": "~25.0.5",
|
|
39
39
|
"lit": "^3.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@vaadin/aura": "~25.0.
|
|
43
|
-
"@vaadin/chai-plugins": "~25.0.
|
|
44
|
-
"@vaadin/test-runner-commands": "~25.0.
|
|
42
|
+
"@vaadin/aura": "~25.0.5",
|
|
43
|
+
"@vaadin/chai-plugins": "~25.0.5",
|
|
44
|
+
"@vaadin/test-runner-commands": "~25.0.5",
|
|
45
45
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
46
|
-
"@vaadin/vaadin-lumo-styles": "~25.0.
|
|
46
|
+
"@vaadin/vaadin-lumo-styles": "~25.0.5",
|
|
47
47
|
"sinon": "^21.0.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "f9de924c232acc7b113e9f7f48368e8ca8105f81"
|
|
50
50
|
}
|
|
@@ -164,6 +164,11 @@ export const OverlayMixin = (superClass) =>
|
|
|
164
164
|
this._detectIosNavbar();
|
|
165
165
|
window.addEventListener('resize', this._boundIosResizeListener);
|
|
166
166
|
}
|
|
167
|
+
|
|
168
|
+
// Show popover again if overlay was just moved in the DOM
|
|
169
|
+
if (this.opened) {
|
|
170
|
+
this._attachOverlay();
|
|
171
|
+
}
|
|
167
172
|
}
|
|
168
173
|
|
|
169
174
|
/** @protected */
|
|
@@ -252,7 +257,7 @@ export const OverlayMixin = (superClass) =>
|
|
|
252
257
|
if (landscape && clientHeight > innerHeight) {
|
|
253
258
|
this.style.setProperty('--vaadin-overlay-viewport-bottom', `${clientHeight - innerHeight}px`);
|
|
254
259
|
} else {
|
|
255
|
-
this.style.setProperty('--vaadin-overlay-viewport-bottom', '
|
|
260
|
+
this.style.setProperty('--vaadin-overlay-viewport-bottom', '0px');
|
|
256
261
|
}
|
|
257
262
|
}
|
|
258
263
|
|
|
@@ -468,7 +473,9 @@ export const OverlayMixin = (superClass) =>
|
|
|
468
473
|
|
|
469
474
|
/** @private */
|
|
470
475
|
_attachOverlay() {
|
|
471
|
-
this.
|
|
476
|
+
if (!this.matches(':popover-open')) {
|
|
477
|
+
this.showPopover();
|
|
478
|
+
}
|
|
472
479
|
}
|
|
473
480
|
|
|
474
481
|
/** @private */
|