Skip to content

SpatialNavigationFocusableView onSelect Callback Does Not Work on Google / Android TV #108

Description

@gfadamm

Describe the bug
The onSelect callback of SpatialNavigationFocusableView is not triggered on Google TV and Android TV devices. As a result, users are unable to activate the focused item using the remote control’s Select/OK button.

Preconditions

  • Application is running on a Google TV or Android TV device (or emulator).
  • A SpatialNavigationFocusableView component is rendered and focusable.
  • An onSelect callback is assigned to the component.

To Reproduce
Steps to reproduce the behavior:

  1. Launch the application on a Google TV or Android TV device.
  2. Navigate to a screen containing a SpatialNavigationFocusableView.
  3. Move focus to the component using the remote.
  4. Press the Select/OK button on the remote.

Actual behavior
The component receives focus correctly, but pressing the Select/OK button does not trigger the onSelect callback.

Expected behavior
The onSelect callback should be invoked, and the associated action (e.g., opening a page, playing a video, or triggering navigation) should execute.

Environment

  • Platform: Google / Android TV (Emulator)
  • Input Device: TV Remote
  • Component: SpatialNavigationFocusableView

Additional Notes

The onSelect callback works as expected on the application built with Expo SDK 51. The issue is only reproducible on the newer SDK version (54)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions