Skip to content

Disable return key when no matches exist #4458

Closed

Description

@iAmWillShepherd

When selecting a branch to compare there is a possibility of being given a search string that does not result in any matches.

No matches
before-enter

When in this state, the return key should be disabled. Although pressing return doesn't have any show-stopping effects, it puts the compare tab in a weird state.

Ahead/Behind tabs missing when in branch compare mode
after-enter

This is a UI behavior was not included in the main branch for this feature because it was not a part of the original feature.

For additional context, check out #4182.

Activity

  1. changed the title [-]Disable <kbd>return</kbd> key when no matches exist[/-] [+]Disable return key when no matches exist[/+] on Apr 17, 2018
  2. added this to the 1.2.x milestone on Apr 17, 2018
  3. modified the milestones: 1.2.x, 1.3.0 on Jul 11, 2018
  4. locked as resolved and limited conversation to collaborators on Sep 17, 2018
  5. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions