-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Selecting room with enter key sometimes inserts newline in message input box #18793
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
Comments
I don't think I am able to repro |
You maybe need Use Ctrl + Enter to send a message to be enabled |
I have that enabled :P |
I haven't |
I still can't repro :( @ilmari, what would you say are the chances that you're holding the key for a bit too long or your device being a bit slow (searching the room-list can be expensive, afaik) with registering the key went up? |
How long I hold the key doesn't seem to affect it, but it happens more often when I type the name (or a short prefix of it) quickly and hit enter before the room list has finished filtering. Then, after that finishes and focus moves back to the text input field, I can see the newline appear. The device isn't particularly slow (2.7GHz Core i7 laptop), but it's Firefox Extended Support Release (because Debian), so a quite old version (78). I can see if it happens on my similarly-specced Ubuntu laptop with Firefox 91 later. |
I can reproduce it on Firefox 92 too, but because it's much snappier the time window is smaller (i.e. I have to hit enter much quicker after typing in the room filter box). |
Closing due to no further reproductions since 2021, presumed fixed |
Steps to reproduce
What happened?
The message input box is focused, and a newline inserted (but not always, it seems to be timing-dependent).
What did you expect?
The message input box is focused, but no text is inserted.
Operating system
Linux
Browser information
Firefox ESR 78.13.0
URL for webapp
app.element.io
Homeserver
ilmari.org
Have you submitted a rageshake?
No
The text was updated successfully, but these errors were encountered: