@noriginmedia/norigin-spatial-navigation
Advanced tools
Changelog
[1.3.1]
focused
state to false
on unmount. This is to support "double-mount" in Strict mode in React 18.useEffectOnce
hook that introduced issues with unmounted components being remained as focusable.Changelog
[1.3.0]
init
config option shouldFocusDOMNode
that focuses the underlying accessible DOM node too.Changelog
[1.2.0]
init
config option useGetBoundingClientRect
that affects the measurements of sizes and coordinates.Changelog
[1.1.5]
setThrottle
to dynamically change throttle time.unbindEventHandlers
regardless of throttle valueChangelog
[1.1.4]
parentFocusKey
when removeFocusable
destroy
(added bind
)Changelog
[1.1.3]
Reflect.deleteProperty
was replaced by delete
to be es5 compliant.Changelog
[1.1.2]
focusDetails
in focusSelf
and setFocus
methods.Changelog
[1.1.0]
useEffectOnce
to avoid multiple effect runs on mount that was breaking the
generation of the focusKey
s.