react-portal
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -100,3 +100,3 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
} | ||
var root = this.portalNode.props.node || this.protalNode.defaultNode; | ||
var root = this.portalNode.props.node || this.portalNode.defaultNode; | ||
if (!root || root.contains(e.target) || e.button && e.button !== 0) { | ||
@@ -103,0 +103,0 @@ return; |
@@ -116,3 +116,3 @@ 'use strict'; | ||
} | ||
var root = this.portalNode.props.node || this.protalNode.defaultNode; | ||
var root = this.portalNode.props.node || this.portalNode.defaultNode; | ||
if (!root || root.contains(e.target) || e.button && e.button !== 0) { | ||
@@ -119,0 +119,0 @@ return; |
{ | ||
"name": "react-portal", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "To make your life with React Portals easier.", | ||
@@ -5,0 +5,0 @@ "main": "lib/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