Merge pull request #645 from vector-im/bwindels/fix-mobile-multiline

remove enterkeyhint attribute as it prevents entering newlines on android
This commit is contained in:
Bruno Windels 2022-01-18 10:39:35 +01:00 committed by GitHub
commit 30438846e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,6 @@ export class MessageComposer extends TemplateView {
render(t, vm) { render(t, vm) {
this._input = t.textarea({ this._input = t.textarea({
enterkeyhint: 'send',
onKeydown: e => this._onKeyDown(e), onKeydown: e => this._onKeyDown(e),
onInput: () => { onInput: () => {
vm.setInput(this._input.value); vm.setInput(this._input.value);