Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Exclude the currently focused element from finding candidates / selecting the best candidate #62

Closed

Description

@frivoal

As currently written, the currently focused element is included in the result of find candidates, and not discarded from the list later.

We should either:

  • fix find candidates so that it does not include it
  • process the result of find candidates to remove it

The later seems better, as that preserves the ability of find candidates to work as a generic algo to support focusableAreas().

Activity

  1. added
    type:bug
    on Jun 8, 2018
  2. jihyerish commented on Jun 8, 2018

    @jihyerish
    Collaborator

    process the result of find candidates to remove it

    When will this step happen? Will this during selecting the best candidate?

  3. added
    closed:resolved
    on Jun 21, 2018
  4. frivoal commented on Jun 21, 2018

    @frivoal
    CollaboratorAuthor

    When will this step happen? Will this during selecting the best candidate?

    In terms of the spec, I've put it as "exclude the starting point" from the result of finding focusable areas. In terms of implementation, doing it as part of selecting the best candidate should be equivalent, as long as steps like "if candidates is empty" are replaced with "if candidates only contains the starting point.

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

    closed:resolvedtopic:spectype:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions