Norigin-Spatial-Navigation
Norigin-Spatial-Navigation copied to clipboard
React Hooks based Spatial Navigation (Key & Remote Control Navigation) / Web Browsers, Smart TVs and Connected TVs
I would like to store the current focusKey in session storage before navigating to a new page (during the beforePopState event), so that I can setFocus() to that focusKey when...
**Describe the bug** Calling focusSelf() causes all focusable components to be in focusable state until arrow buttons are pressed **To Reproduce** see this example: https://codesandbox.io/s/spatial-nav-example-66wiu9 **Expected behavior** First focusable child...
When using the app there are certain scenarios that I would like to reset a components last saved child focus. https://codesandbox.io/s/dank-wildflower-os0it1 ### Describe the solution you'd like It may be...
**Describe the bug** Focus does not go back to expected element when returning to a component. It returns to focus the element before the Element expected. This would be an...
Hello, could you give a sample react native tv app example because i have tried following the docs but i just cant fully understand how to use this library
This PR fixes bugs when using React 18+ by ensuring that a `useEffect` call in `useFocusable` only happens on mount (#8).
An application scrolls to an element in `onFocus` handler. `onFocus` can be called either automatically (for example, on page load) or in response of user action (keyboard event or, in...
**Describe the bug** In a [Vite.js](https://vitejs.dev/) live reload environment, focusable elements are not focusable anymore after hot reloading the component. **To Reproduce** Steps to reproduce the behavior: 1. Init a...
**Describe the bug** 1.1.1 Built version of Norigin Spatial Navigation is not es5 compliant **To Reproduce** Include it in a project and make it run on Chrome
**Describe the bug** Based on your example, I've created a demo with react-window. But when key-up and key-down are pressed, focusable element is wrong. **To Reproduce** https://codesandbox.io/s/happy-voice-8hmrt0 ``` yarn start...