question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`Enter` key should be consistent for dialogues/modals?

See original GitHub issue

Hitting enter on some of the dialogues/modals results in an action, while other nothing happens. There should be consistency.

For instance:

  • hit enter on the Install Command Line Tool... dialogue and the OK is triggered
  • hit enter after selecting a repo on the Clone Repo modal and the Clone is not triggered
  • hit enter on git lock dialogue and Close is not triggered
screen shot 2017-12-18 at 11 45 59 am screen shot 2017-12-18 at 11 55 15 am

Build v1.0.12-beta0. mac

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:3
  • Comments:19 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
ruggi99commented, Jun 8, 2020

@tierninho could you update this issue if you have the time?

1reaction
gingerbeardmancommented, Oct 2, 2018

@j-f1 indeed, see point 6 in the list (and my edit above)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enter key action on modal dialogs - UX Stack Exchange
Consistency would then suggest that Enter continues to perform the primary action in other dialogs, even without form content. But this then ...
Read more >
Dialog controls - Windows apps - Microsoft Learn
Dialog controls are modal UI overlays that provide contextual app information. ... The button will respond to the ENTER key automatically.
Read more >
AngularJS - Accept a ui.bootstrap modal with ENTER key
What I have: Briefly, the ENTER key is recognized by the modal, but it doesn't trigger my function (scope issues, I suspect). The...
Read more >
The current state of modal dialog accessibility - TPGi
As placing focus on the first focusable element of a modal dialog can result in inconsistent and even unfavorable starting points for a...
Read more >
5 Essential UX Rules for Dialog Design | by Nick Babich
1. Reduce Interruption ... Use dialogs sparingly because they are interruptive. Their sudden appearance forces users to stop their current task and focus...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found