react-onclickoutside
Advanced tools
Comparing version 4.7.0 to 4.7.1
@@ -61,3 +61,3 @@ /** | ||
var fn = this.__outsideClickHandler = (function(localNode, eventHandler) { | ||
var fn = this.__outsideClickHandler = (function(localNode, eventHandler, ignoreClass) { | ||
return function(evt) { | ||
@@ -67,3 +67,2 @@ evt.stopPropagation(); | ||
var found = false; | ||
var ignoreClass = this.props.outsideClickIgnoreClass || IGNORE_CLASS; | ||
// If source=local then this event came from "somewhere" | ||
@@ -84,3 +83,3 @@ // inside and should be ignored. We could handle this with | ||
} | ||
}(ReactDOM.findDOMNode(this), this.handleClickOutside)); | ||
}(ReactDOM.findDOMNode(this), this.handleClickOutside, this.props.outsideClickIgnoreClass || IGNORE_CLASS)); | ||
@@ -87,0 +86,0 @@ var pos = registeredComponents.length; |
{ | ||
"name": "react-onclickoutside", | ||
"version": "4.7.0", | ||
"version": "4.7.1", | ||
"description": "An onClickOutside mixin for React components", | ||
@@ -5,0 +5,0 @@ "main": "index.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
14583
236