react-portal
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -141,2 +141,5 @@ 'use strict'; | ||
e.stopPropagation(); | ||
if (this.state.active) { | ||
return; | ||
} | ||
this.openPortal(); | ||
@@ -143,0 +146,0 @@ } |
@@ -101,2 +101,3 @@ import React from 'react'; | ||
e.stopPropagation(); | ||
if (this.state.active) { return; } | ||
this.openPortal(); | ||
@@ -103,0 +104,0 @@ } |
{ | ||
"name": "react-portal", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "React component for transportation of modals, lightboxes, loading bars... to document.body", | ||
@@ -5,0 +5,0 @@ "main": "build/portal", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
971
1842846