-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pressing "Enter" when autocompleting should autocomplete, not send message #4721
Comments
doesn't look like intended? it should confirm first just in case the user wants to extend the message with the picked suggestion. |
I think it makes sense to have enter cause the completion to be inserted. |
I'd say this is more than a "perhaps". The auto-complete pop-up has keyboard grab for arrow keys and Esc; this strongly implies that "Enter" also applies to the pop-up, not the message field. Additionally:
|
I did a thing to fix this but it makes #4872 worse as |
As laid out above, "confirm autocomplete on enter" seems to make more sense than "send partial message on enter". It also feels more intuitive to me. This has been bugging me for a while so here's a (very straightforward) pull request for it: matrix-org/matrix-react-sdk#2968 (Note: the last PR on this thread from late 2017, not fully functional, and then closed, so I decided I could probably safely go ahead with mine) |
Maybe it should do that? I found its just sending the message a bit surprising.
The text was updated successfully, but these errors were encountered: