Skip to content

Up from the page body returns to the hero button used last #235

In review

Description

@wjbeckett

On Details and Series, moving Up from the page body (season tabs, episode row, cast and the rows below) back into the hero buttons should land on the button the viewer last used, or Play if they haven't moved yet. It shouldn't jump to whichever button is nearest.

Upstream

  • Android TV: silo-android#1099. TvHeroActionFocus remembers the last hero action that had focus (Play, Start Over, Edition, Version, Audio, Subtitles, Watchlist, More). Entry into the row and returnToHero go to it.
  • tvOS: silo-apple#988, so both reference clients now behave the same way.

Hopper today

  • Up from the body goes through the general geometric search in src/navigation/spatial.ts, which picks the hero button nearest the focused element. Nothing remembers the last hero button on src/screens/DetailsScreen.tsx or src/screens/SeriesScreen.tsx. Not yet checked in a browser.

What it would take

Mark the hero button row (for example data-nav-memory="hero"). Have spatial.ts remember the last focused element in a marked group and enter the group there when the move comes from outside it, with Play as the default. Keep the memory while the page is open, and reset it when another title opens. The pointer must not be affected.

How to check

Browser: on a movie and a series, move to Watchlist, go Down into the body, then Up: focus returns to Watchlist. With no move first, Up lands on Play. TV: the same with the remote.

Activity

  1. added
    enhancement
    area: navigation
    upstream
    on Dec 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: navigationenhancementupstream

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions