Directional navigation on Xbox #7910
-
Hi all, We now want to bring our app to the Xbox, so we were wondering, if there is a way to manage focusing with RNW as I couldn't find anything related to this in the docs. We're new to Windows development, so I'm sorry if this is a newbie question that's a no-brainer for you guys. I already found the function to call to get directional navigation working: In react-native-tvos, we additionally have the abilities to
Is there a way to achieve this functionality with RNW at the moment? I found ticket #2197, which seems to have asked for a similar feature set, but this is currently closed as it doesn't seem to be required. Any help would be much appreciated as we would otherwise probably need to go the PWA way to support Xbox. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
IIRC |
Beta Was this translation helpful? Give feedback.
-
@fasci I previously worked on a PR to add proper keyboard navigation to FlatList, which is the 1D case of XAML's XY nav capability. Are you saying you found this |
Beta Was this translation helpful? Give feedback.
@fasci I previously worked on a PR to add proper keyboard navigation to FlatList, which is the 1D case of XAML's XY nav capability.
It never went in, but it contains a hint for how you'd do this. You basically need a native module containing a panel with XYNav enabled on it.
#6826
Are you saying you found this
RequiresPointerMode(ApplicationRequiresPointerMode::WhenRequested);
in RNW?