Socket
Socket
Sign inDemoInstall

react-onclickoutside

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-onclickoutside - npm Package Compare versions

Comparing version 4.7.0 to 4.7.1

5

index.js

@@ -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;

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc