File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ # [ 1.1.4]
8+ ## Changed
9+ - Update ` parentFocusKey ` when ` removeFocusable `
10+ - Fix issue with ` destroy ` (added ` bind ` )
11+
712# [ 1.1.3]
813## Changed
914- ` Reflect.deleteProperty ` was replaced by ` delete ` to be es5 compliant.
Original file line number Diff line number Diff line change 11{
22 "name" : " @noriginmedia/norigin-spatial-navigation" ,
3- "version" : " 1.1.3 " ,
3+ "version" : " 1.1.4 " ,
44 "description" : " React hooks based Spatial Navigation solution" ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -1158,6 +1158,13 @@ class SpatialNavigationService {
11581158 return ;
11591159 }
11601160
1161+ forEach ( this . focusableComponents , ( component ) => {
1162+ if ( component . parentFocusKey === focusKey && component . focusable ) {
1163+ // eslint-disable-next-line no-param-reassign
1164+ component . parentFocusKey = parentFocusKey ;
1165+ }
1166+ } ) ;
1167+
11611168 /**
11621169 * If the component was also focused at this time, focus another one
11631170 */
You can’t perform that action at this time.
0 commit comments