Quote by DreamKnight
Anyone else having this issue - in my Android device the return key is working like a carriage return and not like send / submit. Just started happening. Not sure if it is Lush or my phone but it makes it impossible to send a response to a black box message.
Quote by gav
Can you clear your browser cache and try again for me. When you hit the enter key does the box grey out at all, or does this line feed behavior happen from the beginning?
Quote by Liz
I'm posting this using Chrome (47) on android 5.0.
Return seems to be working fine for me.
I'm using the standard keyboard as opposed to a third party app like SwiftKey.
Deprecated
This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.
=== Not ALL LIVES MATTER until BLACK LIVES MATTER ===
Quote by BiMale73
I guess Chrome dropped support for `KeyboardEvent.keyCode`.
From Lush's code (`e.keyCode==13` references the Enter key here):
[code]$('#smsmessage').bind('keypress', function(e) {
if(e.keyCode==13){
$('#sendsms').click();
e.preventDefault();
}
});[/code]
On the Mozilla Developer Network page about KeyboardEvent.keyCode it says:
So other browsers may perhaps follow soon.
Normally, when typing in a textareas, an enter does not trigger a form submit, so I can imagine that some people will be (unpleasantly) surprised to see their message being sent when they were not ready to send it. It would be nice if this was a feature that requires opt-in.
Quote by Crapbag123
I had this when using the google standard keyboard. When I changed to swiftkey, it was fine. Seems that might be the issue.
=== Not ALL LIVES MATTER until BLACK LIVES MATTER ===
Quote by BiMale73
That suggests the issue occurs outside of the browser, while the 'it happens in Chrome but not in Firefox' suggests it is in fact a browser issue. Weird![]()