Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-aria/virtualizer

Package Overview
Dependencies
Maintainers
1
Versions
840
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-aria/virtualizer - npm Package Compare versions

Comparing version 3.3.1-nightly.2445 to 3.3.1-nightly.2448

14

dist/main.js

@@ -508,6 +508,16 @@ var {

}
});
}); // Set tabIndex to -1 if the focused view is in the DOM, otherwise 0 so that the collection
// itself is tabbable. When the collection receives focus, we scroll the focused item back into
// view, which will allow it to be properly focused. If using virtual focus, don't set a
// tabIndex at all so that VoiceOver on iOS 14 doesn't try to move real DOM focus to the element anyway.
let tabIndex;
if (!shouldUseVirtualFocus) {
tabIndex = focusedView ? -1 : 0;
}
return {
virtualizerProps: {
tabIndex: focusedView || shouldUseVirtualFocus ? -1 : 0,
tabIndex,
onFocus,

@@ -514,0 +524,0 @@ onBlur

@@ -458,6 +458,16 @@ import { useLocale } from "@react-aria/i18n";

}
});
}); // Set tabIndex to -1 if the focused view is in the DOM, otherwise 0 so that the collection
// itself is tabbable. When the collection receives focus, we scroll the focused item back into
// view, which will allow it to be properly focused. If using virtual focus, don't set a
// tabIndex at all so that VoiceOver on iOS 14 doesn't try to move real DOM focus to the element anyway.
let tabIndex;
if (!shouldUseVirtualFocus) {
tabIndex = focusedView ? -1 : 0;
}
return {
virtualizerProps: {
tabIndex: focusedView || shouldUseVirtualFocus ? -1 : 0,
tabIndex,
onFocus,

@@ -464,0 +474,0 @@ onBlur

12

package.json
{
"name": "@react-aria/virtualizer",
"version": "3.3.1-nightly.2445+df4650ba",
"version": "3.3.1-nightly.2448+28ceccbf",
"description": "Spectrum UI components in React",

@@ -21,6 +21,6 @@ "license": "Apache-2.0",

"@babel/runtime": "^7.6.2",
"@react-aria/i18n": "3.0.0-nightly.767+df4650ba",
"@react-aria/utils": "3.0.0-nightly.767+df4650ba",
"@react-stately/virtualizer": "3.1.3-nightly.2445+df4650ba",
"@react-types/shared": "3.0.0-nightly.767+df4650ba"
"@react-aria/i18n": "3.0.0-nightly.770+28ceccbf",
"@react-aria/utils": "3.0.0-nightly.770+28ceccbf",
"@react-stately/virtualizer": "3.1.3-nightly.2448+28ceccbf",
"@react-types/shared": "3.0.0-nightly.770+28ceccbf"
},

@@ -34,3 +34,3 @@ "peerDependencies": {

},
"gitHead": "df4650ba218034780d86a0ce0459bbe7f88cc1ce"
"gitHead": "28ceccbf05637e9fb256794a16c0152e52be179e"
}

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc