@flourish/info-popup
Advanced tools
Comparing version 5.0.0 to 5.0.1
{ | ||
"name": "@flourish/info-popup", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Popup with data insertion", | ||
@@ -5,0 +5,0 @@ "main": "info-popup.js", |
@@ -0,1 +1,4 @@ | ||
# 5.0.1 | ||
* Resize constrainer in 'none' mode to avoid extra whitespace bug | ||
# 5.0.0 | ||
@@ -2,0 +5,0 @@ * Remove core js dependencies |
@@ -114,2 +114,9 @@ import Popup from "@flourish/popup"; | ||
} | ||
// draw popup initially in "none" mode to resize constrainer & avoid whitespace around main graphic | ||
if (this._state.mode == "none") { | ||
this.panel.hide(); | ||
this.popup.draw(); // call draw to resize constrainer, if necessary | ||
this.popup.hide(); | ||
} | ||
}; | ||
@@ -116,0 +123,0 @@ |
Sorry, the diff of this file is too big to display
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
231015
158
5220
1