@react-aria/selection
Advanced tools
Comparing version 3.0.0-nightly.1071 to 3.0.0-nightly.1076
@@ -390,4 +390,7 @@ var { | ||
onMouseDown(e) { | ||
// Prevent focus going to the collection when clicking on the scrollbar. | ||
e.preventDefault(); | ||
// Ignore events that bubbled through portals. | ||
if (e.currentTarget.contains(e.target)) { | ||
// Prevent focus going to the collection when clicking on the scrollbar. | ||
e.preventDefault(); | ||
} | ||
} | ||
@@ -394,0 +397,0 @@ |
@@ -366,4 +366,7 @@ import { useLocale, useCollator } from "@react-aria/i18n"; | ||
onMouseDown(e) { | ||
// Prevent focus going to the collection when clicking on the scrollbar. | ||
e.preventDefault(); | ||
// Ignore events that bubbled through portals. | ||
if (e.currentTarget.contains(e.target)) { | ||
// Prevent focus going to the collection when clicking on the scrollbar. | ||
e.preventDefault(); | ||
} | ||
} | ||
@@ -370,0 +373,0 @@ |
{ | ||
"name": "@react-aria/selection", | ||
"version": "3.0.0-nightly.1071+50906638d", | ||
"version": "3.0.0-nightly.1076+415888d27", | ||
"description": "Spectrum UI components in React", | ||
@@ -21,9 +21,9 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-aria/focus": "3.0.0-nightly.1071+50906638d", | ||
"@react-aria/i18n": "3.0.0-nightly.1071+50906638d", | ||
"@react-aria/interactions": "3.0.0-nightly.1071+50906638d", | ||
"@react-aria/utils": "3.0.0-nightly.1071+50906638d", | ||
"@react-stately/collections": "3.0.0-nightly.1071+50906638d", | ||
"@react-stately/selection": "3.0.0-nightly.1071+50906638d", | ||
"@react-types/shared": "3.0.0-nightly.1071+50906638d" | ||
"@react-aria/focus": "3.0.0-nightly.1076+415888d27", | ||
"@react-aria/i18n": "3.0.0-nightly.1076+415888d27", | ||
"@react-aria/interactions": "3.0.0-nightly.1076+415888d27", | ||
"@react-aria/utils": "3.0.0-nightly.1076+415888d27", | ||
"@react-stately/collections": "3.0.0-nightly.1076+415888d27", | ||
"@react-stately/selection": "3.0.0-nightly.1076+415888d27", | ||
"@react-types/shared": "3.0.0-nightly.1076+415888d27" | ||
}, | ||
@@ -36,3 +36,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "50906638d417a6ae1a32aa7235591b35d91ad7eb" | ||
"gitHead": "415888d27f27c6af844fc1b325a39612f15775be" | ||
} |
@@ -320,4 +320,7 @@ /* | ||
onMouseDown(e) { | ||
// Prevent focus going to the collection when clicking on the scrollbar. | ||
e.preventDefault(); | ||
// Ignore events that bubbled through portals. | ||
if (e.currentTarget.contains(e.target)) { | ||
// Prevent focus going to the collection when clicking on the scrollbar. | ||
e.preventDefault(); | ||
} | ||
} | ||
@@ -324,0 +327,0 @@ }; |
Sorry, the diff of this file is not supported yet
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
196785
2300