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
At present, we can save a memo by using the Ctrl+Enter key combination.
It would be great if we could also use the numpad enter key.
In javascript, this key can be detected in two ways depending on the operating system.
Properly behaved browser/os, should set the event.code to NumpadEnter and event.location to 3. But not all does both. I think it is safe to check for either.
I do not want to have to press Ctrl while using numpad enter.
The idea is that numpad enter on its own would submit, without having to hold Ctrl key.
This is the behavior in many applications where you have multiline input.
Describe the solution you'd like
At present, we can save a memo by using the
Ctrl+Enter
key combination.It would be great if we could also use the numpad enter key.
In javascript, this key can be detected in two ways depending on the operating system.
Properly behaved browser/os, should set the
event.code
toNumpadEnter
andevent.location
to3
. But not all does both. I think it is safe to check for either.https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/location
Type of feature
User Interface (UI)
Additional context
Note: if you accept this feature I can do a PR.
The text was updated successfully, but these errors were encountered: