@vaadin/vaadin-overlay
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -14,3 +14,3 @@ { | ||
"name": "@vaadin/vaadin-overlay", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"main": "vaadin-overlay.js", | ||
@@ -23,2 +23,3 @@ "author": "Vaadin Ltd", | ||
"resolutions": { | ||
"@webcomponents/webcomponentsjs": "2.0.0", | ||
"inherits": "2.0.3", | ||
@@ -41,6 +42,7 @@ "samsam": "1.1.3", | ||
"@polymer/iron-test-helpers": "^3.0.0-pre.18", | ||
"@vaadin/vaadin-button": "^2.1.0-beta2", | ||
"@vaadin/vaadin-text-field": "^2.1.0-beta2", | ||
"@vaadin/vaadin-button": "^2.1.0", | ||
"@vaadin/vaadin-text-field": "^2.1.1", | ||
"@polymer/iron-form": "^3.0.0-pre.18", | ||
"@polymer/iron-input": "^3.0.0-pre.18", | ||
"@webcomponents/webcomponentsjs": "^2.0.0", | ||
"@polymer/paper-button": "^3.0.0-pre.18", | ||
@@ -47,0 +49,0 @@ "@polymer/paper-input": "^3.0.0-pre.18", |
@@ -212,2 +212,3 @@ /** | ||
notify: true, | ||
observer: '_openedChanged', | ||
reflectToAttribute: true | ||
@@ -289,3 +290,2 @@ }, | ||
return [ | ||
'_openedChanged(opened)', | ||
'_templateChanged(template)' | ||
@@ -466,3 +466,3 @@ ]; | ||
*/ | ||
_openedChanged(opened) { | ||
_openedChanged(opened, wasOpened) { | ||
if (!this._instance) { | ||
@@ -487,3 +487,3 @@ this._ensureTemplatized(); | ||
} | ||
} else { | ||
} else if (wasOpened) { | ||
this._animatedClosing(); | ||
@@ -603,5 +603,6 @@ this._exitModalState(); | ||
// Restore pointer events in the previous overlay(s) in reverse order | ||
const instances = OverlayElement.__attachedInstances.reverse(); | ||
// Restore pointer events in the previous overlay(s) | ||
const instances = OverlayElement.__attachedInstances; | ||
let el; | ||
// Use instances.pop() to ensure the reverse order | ||
while (el = instances.pop()) { | ||
@@ -608,0 +609,0 @@ if (el === this) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
97850
681
0
12