You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We received internal feedback that it would be expected behavior to submit a form immediately using a keyboard shortcut when typing in a TextArea.
Suggested shortcuts:
Windows:Ctrl + Enter
Mac:Cmd + Enter
Research: How Others Handle It
This behavior is already implemented in many applications, including GitHub, GitLab, Gmail, Outlook, and more.
GitLab describes it in their styleguide as follows:
A Form should support the "quick submit" behavior, which allows it to be submitted from any control (including Markdown editors) using ⌘ + Enter (or Ctrl + Enter). Note to developers: The quick submit behavior can be automatically added to a form using the js-quick-submit CSS class implemented in quick_submit.js.
I suggest we implement Cmd + Enter / Ctrl + Enter as a keyboard shortcut. This would be particularly useful for form inputs like Markdown editors, TextAreas, and code inputs., fields where users expect Enter to create a new line rather than submit the form immediately.
The text was updated successfully, but these errors were encountered:
Description
We received internal feedback that it would be expected behavior to submit a form immediately using a keyboard shortcut when typing in a TextArea.
Suggested shortcuts:
Windows:
Ctrl + Enter
Mac:
Cmd + Enter
Research: How Others Handle It
This behavior is already implemented in many applications, including GitHub, GitLab, Gmail, Outlook, and more.
GitLab describes it in their styleguide as follows:
Source: GitLab Style Guide – Quick Submit
Implementation
I suggest we implement
Cmd + Enter / Ctrl + Enter
as a keyboard shortcut. This would be particularly useful for form inputs like Markdown editors, TextAreas, and code inputs., fields where users expectEnter
to create a new line rather than submit the form immediately.The text was updated successfully, but these errors were encountered: