-
-
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
Have to press Enter twice to send a message that ends with unwanted autocomplete #9876
Comments
also applies if your message ends with a colon at all. |
... and if you say |
is this a regression? |
On develop, yes |
right, it's biting me now too. annoying. |
This must be matrix-org/matrix-react-sdk#2968, which was a fix for #4721 Maybe the solution is to only capture Enter while autocompleting when you've actually auto-completed (e.g. the text you typed has been replaced with an emoji, selectionOffset > 0)? |
That solution sounds like the right thing to me, although I think it'd make sense to also capture Enter when your selection changes from 0 -> 1 -> 0 again |
Slack handles this in quite a nice way.
|
For example, 'hello world :)' requires two Enter presses, despite me not wanting to use the emoji-emoji (just the smiley as two characters). I do not have autoreplace plaintext emoji with real emoji enabled.
The text was updated successfully, but these errors were encountered: