@react-aria/interactions
Advanced tools
Comparing version 3.0.0-nightly.836 to 3.0.0-nightly.849
@@ -1283,3 +1283,3 @@ var _react2 = require("react"); | ||
if (!ownerDocument || !ownerDocument.body.contains(event.target)) { | ||
if (!ownerDocument || !ownerDocument.documentElement.contains(event.target)) { | ||
return false; | ||
@@ -1286,0 +1286,0 @@ } |
@@ -1230,3 +1230,3 @@ import _react, { useContext, useEffect, useMemo, useRef, useState } from "react"; | ||
if (!ownerDocument || !ownerDocument.body.contains(event.target)) { | ||
if (!ownerDocument || !ownerDocument.documentElement.contains(event.target)) { | ||
return false; | ||
@@ -1233,0 +1233,0 @@ } |
{ | ||
"name": "@react-aria/interactions", | ||
"version": "3.0.0-nightly.836+f5678f9c", | ||
"version": "3.0.0-nightly.849+e08af810", | ||
"description": "Spectrum UI components in React", | ||
@@ -21,4 +21,4 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-aria/utils": "3.0.0-nightly.836+f5678f9c", | ||
"@react-types/shared": "3.0.0-nightly.836+f5678f9c" | ||
"@react-aria/utils": "3.0.0-nightly.849+e08af810", | ||
"@react-types/shared": "3.0.0-nightly.849+e08af810" | ||
}, | ||
@@ -31,3 +31,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "f5678f9c0a8a02422a16eda4e9be11d2b88ed08b" | ||
"gitHead": "e08af810954896b95e444b5b02ab782cd1e4b759" | ||
} |
@@ -114,3 +114,3 @@ /* | ||
const ownerDocument = event.target.ownerDocument; | ||
if (!ownerDocument || !ownerDocument.body.contains(event.target)) { | ||
if (!ownerDocument || !ownerDocument.documentElement.contains(event.target)) { | ||
return false; | ||
@@ -117,0 +117,0 @@ } |
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
395750