bamlab / react-tv-space-navigation

A React Native module to handle spatial navigation for a TV application in a 100% cross-platform way
https://bamlab.github.io/react-tv-space-navigation/
MIT License
205 stars 18 forks source link

feat(VirtualizedList): provide a way to scroll without applying focus #160

Open slvvn opened 5 days ago

slvvn commented 5 days ago

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, but instead just scrolls and doesn't actually focus.