Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Releases: NoriginMedia/react-spatial-navigation

Updated Docs to use scoped package from NPM

08 Apr 09:07
Compare
Choose a tag to compare

Published to NPM

08 Apr 08:48
Compare
Choose a tag to compare
v2.0.4

2.0.4

Prepared package for NPM publishing

08 Apr 08:43
Compare
Choose a tag to compare
v2.0.3

Merge remote-tracking branch 'origin/master'

Fixed an issue with DOM node updates

02 Apr 16:15
f465028
Compare
Choose a tag to compare

Sometimes React component updates the DOM node without the system knowing about that, so its layout (coordinates and measurements) are not updated in the "node" ref that is stored in the system.

Debug and Visual Debug modes. Improved siblings coordinates algorithm.

01 Apr 16:27
1dd7128
Compare
Choose a tag to compare
  • Now you can use debug and visualDebug flags in init config to enable these modes.
  • Improved the way of how smartNavigate filters the siblings by the coordinates.

Added documentation, issue templates, contribution guide

01 Apr 11:08
b4e8f54
Compare
Choose a tag to compare

This is a major release after we added proper documentation, issue templates and contribution guide.

Performance optimisations

28 Mar 12:44
Compare
Choose a tag to compare

In this release we removed usage of React Context that was keeping the current focused element on the screen. Context caused all focusable components to get re-rendered every time you change focus to another element. Now each component has its own "focused" state that is changed by the spatialNavigation service externally. This makes it to re-render 2 components at a time - the one that got new focus and the one that lost focus.

Fixed an issue where parent was always selecting first child

22 Feb 17:04
Compare
Choose a tag to compare

Parent nodes will now respect the "propagateFocus" property correctly and won't select first child if this property is not set.

Bugfixing. Pause/resume functionality

14 Feb 10:50
Compare
Choose a tag to compare

Added pauseSpatialNavigation and resumeSpatialNavigation methods to HOC.
Typo fixes.

Forget Last Child option, bugfixing, optimisation

11 Feb 14:56
Compare
Choose a tag to compare

Added Forget Last Child option in order to ignore "auto focus last child" default logic.
Fixed TypeError caused when trying to enhance immutable component with setPropTypes, that tries to set static prop on non-extensible object.
Optimised compose wrappers call, removed unnecessary function wrap.