@vaadin-component-factory/vcf-popup
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "@vaadin-component-factory/vcf-popup", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Vaadin Component Factory Popup for Polymer 3", | ||
@@ -5,0 +5,0 @@ "main": "theme/lumo/vcf-popup.js", |
@@ -134,3 +134,8 @@ /* | ||
} | ||
this.$.popupOverlay.style.top = `${positionTop}px`; | ||
if (positionTop + overlayRect.height > window.innerHeight + window.pageYOffset) { | ||
this.$.popupOverlay.style.top = `${positionTop - targetBoundingRect.height - overlayRect.height}px`; | ||
} else { | ||
this.$.popupOverlay.style.top = `${positionTop}px`; | ||
} | ||
} | ||
@@ -137,0 +142,0 @@ } |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
35833
19
374
2