@react-aria/selection
Advanced tools
Comparing version 3.0.0-nightly.1006 to 3.0.0-nightly.1010
@@ -438,5 +438,2 @@ var { | ||
let handlers = { | ||
// We use a capturing listener to ensure that the keyboard events for the collection | ||
// override those of the children. For example, ArrowDown in a table should always go | ||
// to the cell below, and not open a menu. | ||
onKeyDown, | ||
@@ -448,3 +445,5 @@ onFocus, | ||
// Prevent focus going to the collection when clicking on the scrollbar. | ||
e.preventDefault(); | ||
if (e.target === ref.current) { | ||
e.preventDefault(); | ||
} | ||
} | ||
@@ -451,0 +450,0 @@ |
@@ -415,5 +415,2 @@ import { useLocale, useCollator } from "@react-aria/i18n"; | ||
let handlers = { | ||
// We use a capturing listener to ensure that the keyboard events for the collection | ||
// override those of the children. For example, ArrowDown in a table should always go | ||
// to the cell below, and not open a menu. | ||
onKeyDown, | ||
@@ -425,3 +422,5 @@ onFocus, | ||
// Prevent focus going to the collection when clicking on the scrollbar. | ||
e.preventDefault(); | ||
if (e.target === ref.current) { | ||
e.preventDefault(); | ||
} | ||
} | ||
@@ -428,0 +427,0 @@ |
{ | ||
"name": "@react-aria/selection", | ||
"version": "3.0.0-nightly.1006+3a1f1549", | ||
"version": "3.0.0-nightly.1010+b7aa7f5d", | ||
"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.1006+3a1f1549", | ||
"@react-aria/i18n": "3.0.0-nightly.1006+3a1f1549", | ||
"@react-aria/interactions": "3.0.0-nightly.1006+3a1f1549", | ||
"@react-aria/utils": "3.0.0-nightly.1006+3a1f1549", | ||
"@react-stately/collections": "3.0.0-nightly.1006+3a1f1549", | ||
"@react-stately/selection": "3.0.0-nightly.1006+3a1f1549", | ||
"@react-types/shared": "3.0.0-nightly.1006+3a1f1549" | ||
"@react-aria/focus": "3.0.0-nightly.1010+b7aa7f5d", | ||
"@react-aria/i18n": "3.0.0-nightly.1010+b7aa7f5d", | ||
"@react-aria/interactions": "3.0.0-nightly.1010+b7aa7f5d", | ||
"@react-aria/utils": "3.0.0-nightly.1010+b7aa7f5d", | ||
"@react-stately/collections": "3.0.0-nightly.1010+b7aa7f5d", | ||
"@react-stately/selection": "3.0.0-nightly.1010+b7aa7f5d", | ||
"@react-types/shared": "3.0.0-nightly.1010+b7aa7f5d" | ||
}, | ||
@@ -36,3 +36,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "3a1f15494c22fb9f06de7285f8b920f46f959fac" | ||
"gitHead": "b7aa7f5d1ba213709da752c33e4f2d16a39b2340" | ||
} |
@@ -358,5 +358,2 @@ /* | ||
let handlers = { | ||
// We use a capturing listener to ensure that the keyboard events for the collection | ||
// override those of the children. For example, ArrowDown in a table should always go | ||
// to the cell below, and not open a menu. | ||
onKeyDown, | ||
@@ -367,3 +364,5 @@ onFocus, | ||
// Prevent focus going to the collection when clicking on the scrollbar. | ||
e.preventDefault(); | ||
if (e.target === ref.current) { | ||
e.preventDefault(); | ||
} | ||
} | ||
@@ -370,0 +369,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
201444
2347