react-relative-portal
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -27,2 +27,4 @@ 'use strict'; | ||
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
@@ -85,3 +87,7 @@ | ||
value: function render() { | ||
return _reactDom2.default.createPortal(_react2.default.createElement('div', _extends({}, this.props, { ref: this.handleRootRef })), this.node); | ||
var _props = this.props, | ||
onOutClick = _props.onOutClick, | ||
props = _objectWithoutProperties(_props, ['onOutClick']); | ||
return _reactDom2.default.createPortal(_react2.default.createElement('div', _extends({}, props, { ref: this.handleRootRef })), this.node); | ||
} | ||
@@ -88,0 +94,0 @@ }]); |
{ | ||
"name": "react-relative-portal", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "React component for place dropdowns outside overflow: hidden; elements", | ||
@@ -5,0 +5,0 @@ "main": "dist/RelativePortal.js", |
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
16320
228