forked from mystiq/hydrogen-web
on Android, by default (without the above attribute set to "send"), you press enter twice to submit a field. The first time, enter, Android seems to prevent sending logic by setting the key property on the event to "Unidentified", but does insert a newline. The second consecutive enter, it will be set to "Enter" and we'll send. Having enterkeyhint to send will disable all of that. So we're going with the default behaviour, which, IIRC, was a bit annoying on iOS as well. |
||
---|---|---|
.. | ||
types | ||
web |