Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 5.3.2 to 5.3.3

6

index.js

@@ -36,3 +36,3 @@ /**

*/
var generateOutsideCheck = function(componentNode, eventHandler, ignoreClass, preventDefault, stopPropagation) {
var generateOutsideCheck = function(componentNode, componentInstance, ignoreClass, preventDefault, stopPropagation) {
return function(evt) {

@@ -60,3 +60,3 @@ if (preventDefault) {

if(current !== document) return;
eventHandler(evt);
componentInstance.handleClickOutside.bind(componentInstance, evt)();
}

@@ -111,3 +111,3 @@ };

ReactDOM.findDOMNode(instance),
instance.handleClickOutside.bind(instance),
instance,
this.props.outsideClickIgnoreClass || IGNORE_CLASS,

@@ -114,0 +114,0 @@ this.props.preventDefault || false,

{
"name": "react-onclickoutside",
"version": "5.3.2",
"version": "5.3.3",
"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