@noriginmedia/norigin-spatial-navigation
Advanced tools
Changelog
[1.0.5]
useFocusable
hook that is available in all callbacks that bounce props back.lodash
imports to cherry-picked ones to avoid the whole lodash
lib to be bundled in the project.Changelog
[1.0.4]
eslint-config-airbnb
this
instead of self
Changelog
[1.0.3]
SpatialNavigation
service. Otherwise only
the first closure is assigned to the service and is always called with the initial props.Changelog
[1.0.2]
measureLayout
back to calculate coords based on offsetTop/Left/Width/Height
instead of getClientBoundRect
.
The reason is that getClientBoundRect
is less performant and calculates coordinates AFTER all the CSS transformations,
which is undesirable for scaled or transformed elements.