react-tooltipper
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -146,3 +146,3 @@ var React = require('react/addons'), | ||
if (Object.keys(tooltipData).length) { | ||
if (Object.keys(tooltipData).length && component) { | ||
position = tooltipData.position; | ||
@@ -354,3 +354,2 @@ body = document.body.getBoundingClientRect(); | ||
* Change the default options | ||
* @private | ||
*/ | ||
@@ -365,2 +364,11 @@ tooltipperSetOptions: function (opts) { | ||
/** | ||
* Force the tooltipper to update its positioning. This should only be | ||
* necessary when an element has been removed from or added to the DOM and | ||
* the tooltip's position should be effected. | ||
*/ | ||
tooltipperForceCalcPlacement: function() { | ||
tooltipper.calcPlacement.call(this); | ||
}, | ||
_tooltipperRenderLayer: function () { | ||
@@ -367,0 +375,0 @@ var component = this._tooltipperRenderTooltip(); |
{ | ||
"name": "react-tooltipper", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "Create and trigger responsive tooltips for your ReactJS apps", | ||
@@ -5,0 +5,0 @@ "author": "Jason Rogers <jason@jmichaelrogers.com>", |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 5 instances in 1 package
772
0
47654
11