AmazonAppDev / react-native-multi-tv-app-sample

πŸ“ΊπŸš€ React Native TV app sample for Android TV, Fire TV, tvOS, and web. Features customizable drawer navigation πŸ—‚οΈ, content grid πŸ–ΌοΈ, hero header πŸ¦Έβ€β™‚οΈ, and video player πŸŽ₯. Built with Expo. Perfect starter for cross-platform TV app development! 🌟
MIT No Attribution
30 stars 10 forks source link

Nav to drawer does not work in the Explore tab on Apple TV #3

Closed douglowder closed 2 months ago

douglowder commented 2 months ago

Steps to reproduce:

Expected behavior:

Actual behavior:

Not sure if this is an issue with the state management of the drawer in the app, or an issue in react-tv-space-navigation. If you add a call to useTVEventHandler that calls onDirectionHandledWithoutMovement() when eventType=left, the issue is fixed.

giolaq commented 2 months ago

thank you for reporting. I've found the state of the drawer was not correctly set up when navigating in the screen. I've merged a fix.

douglowder commented 2 months ago

Thanks @giolaq πŸ˜ƒ