react-tv-space-navigation
react-tv-space-navigation copied to clipboard
A React Native module to handle spatial navigation for a TV application in a 100% cross-platform way
This to detect the "Back" button of an LG Magic Remote for Web OS. Tested with the web build of the project. The appinfo.json of the WebOS project needs to...
I've found the using [react-native-pixel-perfect](https://www.npmjs.com/package/react-native-pixel-perfect) makes it easier to adapt the scaling factor across different screens. The library is considering width and height that can be defined by the developers...
**Describe the bug** A `DefaultFocus` wrapped `SpatialNavigationFocusableView` correctly receives focus, but `onSelect` is not fired when select button pressed **only on Android**, it requires an additional navigation without movement input...
Currently there's only a way to programmatically change the focused item in the list. This PR adds the support for an additional `scrollTo` method. Which functions the same as `focus`,...
Hi, currently the VirtualizedList only supports having a scroll behavior of sticking to either sides of the list (start or end). In our case we have a very centered UI,...
If you use a virtualizedList inside a virtualizedList, only one or the other will scroll. example) ``` ( {({ item }) => ( )} )} itemSize={scaledPixels(250)} numberOfRenderedItems={6 + 2} numberOfItemsVisibleOnScreen={6}...
Previously, the `SpatialNavigationVirtualizedList` component had a prop called `numberOfItemsVisibleOnScreen` which has been renamed to `additionalItemsRendered`. This simplifies the component API and provides the end user an easy way to setup...
**Is your feature request related to a problem? Please describe.** Currently there is no way to set default/initial focus index on virtualized list There is no even any ScrollTo method...