react-bootstrap
Advanced tools
Comparing version 0.13.2 to 0.13.3
@@ -52,4 +52,11 @@ var React = require('react'); | ||
var overlay = this.renderOverlay(); | ||
// Save reference to help testing | ||
this._overlayInstance = React.render(this.renderOverlay(), this._overlayTarget); | ||
if (overlay !== null) { | ||
this._overlayInstance = React.render(overlay, this._overlayTarget); | ||
} else { | ||
// Unrender if the component is null for transitions to null | ||
this._unrenderOverlay(); | ||
} | ||
}, | ||
@@ -67,3 +74,7 @@ | ||
return this._overlayInstance.getDOMNode(); | ||
if (this._overlayInstance) { | ||
return this._overlayInstance.getDOMNode(); | ||
} | ||
return null; | ||
}, | ||
@@ -70,0 +81,0 @@ |
{ | ||
"name": "react-bootstrap", | ||
"version": "0.13.2", | ||
"version": "0.13.3", | ||
"description": "Bootstrap 3 components build with React", | ||
@@ -5,0 +5,0 @@ "homepage": "http://react-bootstrap.github.io/", |
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
132323
4166