Skip to content

Scrolling in sidebar, selected item loses focus if out of view #2957

@NiklasBr

Description

@NiklasBr

Description

When you have one item selected in the item/source list for changed files and scroll the item out of view it will lose focus and not regain its focus once returned into view. See attached screen recording below.

Version

GitHub Desktop version: 1.0.3

OS version: macOS 10.12.6 (16G29)

Steps to Reproduce

  1. Have enough changes so that Desktop will allow you to scroll.
  2. Select one item.
  3. Scroll so that the item is no longer visible.
  4. Scroll back so that the item becomes visible again.

2017-10-04 10 41 01

Expected behavior: The item should always keep its focus.

Actual behavior: Focus is lost.

Reproduces how often: 100%

Logs

n/a

Additional Information

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed bugs or reports that are very likely to be bugshelp wantedIssues marked as ideal for external contributorspriority-3Bugs that affect small number of users and/or relatively cosmetic in nature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions