Skip to content

Do not navigate to bottom of history list on press of up arrow key from top of history. #4582

Closed

Description

@mikeperrotta

Description

Enhancement: when viewing a repository's history, do not jump to the last item when using the arrow keys to navigate upwards from the topmost item. This is particularly annoying because after jumping to the bottom of the history, the next section of history is loaded and navigating downwards using the arrow keys does not return you to the top. Since it is impossible to use the down key to move to the top (unless you are at the end of the history), using the up key should not move to the bottom of the currently loaded history (possibly it could move to the very very bottom of the history, but then you would either need to load all history or have a non-continuous list of past commits).

Version

  • GitHub Desktop: 1.1.1
  • Operating system: macOS 10.13.3

Steps to Reproduce

In the history view, select the topmost item and press the up arrow key.

Expected Behavior

Do not move.

Actual Behavior

Moves to the bottom of the currently loaded history list, then loads more history items.

Additional Information

Logs

Activity

  1. shiftkey commented on May 2, 2018

    @shiftkey
    Member

    @mikeperrotta thanks for the report!

    We've had a couple of these come through in the past (#2763, #2479 and #3093) and I think this is worth revisiting to see if we can control the List keyboard navigation to prevent it from looping like this. We had a shot at it in #2539 but couldn't get a satisfactory fix together.

    I'm going to mark this as enhancement and see if I can write up some more details about what needs to change.

  2. self-assigned this
    on May 2, 2018
  3. mikeperrotta commented on May 2, 2018

    @mikeperrotta
    Author

    Thanks! Really did try to look for duplicates, but guess I wasn't searching for the right thing. Thanks for the comment though!

  4. removed their assignment
    on Jul 16, 2018
  5. billygriffin commented on Jun 4, 2019

    @billygriffin
    Contributor

    Closing in favor of #7679 because there's a bit more detail there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions