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

@noriginmedia/react-spatial-navigation

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@noriginmedia/react-spatial-navigation - npm Package Compare versions

Comparing version 2.12.0 to 2.12.1

4

CHANGELOG.md

@@ -7,2 +7,6 @@ # Changelog

## [2.12.1]
### Fixed
- Fixed regression with using `autoRestoreFocus` on components that are focused + getting unmounted and don't have parent
## [2.12.0]

@@ -9,0 +13,0 @@ ### Added

2

dist/spatialNavigation.js

@@ -862,3 +862,3 @@ 'use strict';

*/
if (isFocused && parentComponent.autoRestoreFocus) {
if (isFocused && parentComponent && parentComponent.autoRestoreFocus) {
this.setFocus(parentFocusKey);

@@ -865,0 +865,0 @@ }

{
"name": "@noriginmedia/react-spatial-navigation",
"version": "2.12.0",
"version": "2.12.1",
"description": "HOC-based Spatial Navigation (key navigation) solution for React",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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