react-native-navigation
react-native-navigation copied to clipboard
[AndroidTV] Top bar buttons don't work
🐛 Bug Report
I have right buttons in the top bar, but I can't focus them or click using arrow keys or virtual remote
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
Use any topBar config with buttons and run it in androidtv emulator
topBar: {
rightButtons: [
{
id: 'myDynamicButton',
text: 'My Button',
},
],
},
Expected behavior
I expect top bar button to be focusable and clickable using arrow keys or remote.
Actual Behavior
That's impossible to focus or click these buttons
Your Environment
- React Native Navigation version: 7.25.1
- React Native version: [email protected]
- Platform(s) (iOS, Android, or both?): AndroidTV
- Device info (Simulator/Device? OS version? Debug/Release?): Android 12.0 (Google TV) API 31
Are you willing to resolve this issue by submitting a Pull Request?
- ✖️ Yes, I have the time, and I know how to start.
- ✅ Yes, I have the time, but I don't know how to start. I would need guidance.
- ✖️ No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.