Skip to content

Vertical navigation skips short rows #50

@mtalexan

Description

@mtalexan

Moonfin version: 1.1.0 (but existed before this too)

When navigating vertically they rows of items using the directional navigation in the tvOS remote, short rows get skipped if your focus is on a row above/below but horizontally past the last item on the short row.

Standard for directional navigation is to "save" the largest horizontal position of your focus when navigating vertically, and apply a cieling function to that horizontal position for each row that will cap the maximum at the last item in the row when determining which item to pick in the row when moving vertically to it. This guarantees you move to the last item in a short row, but then when moving back to a long row after that you return to the correct horizontal position matching the original long row.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions