react-dropdown
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -177,3 +177,5 @@ 'use strict'; | ||
if (!_reactDom2.default.findDOMNode(this).contains(event.target)) { | ||
this.setState({ isOpen: false }); | ||
if (this.state.isOpen) { | ||
this.setState({ isOpen: false }); | ||
} | ||
} | ||
@@ -180,0 +182,0 @@ } |
{ | ||
"name": "react-dropdown", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "React dropdown component", | ||
@@ -5,0 +5,0 @@ "main": "dist/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
15307
276